mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-31 02:02:54 +02:00
Medusa: convert the non-free unrar source to deb822 format (#16093)
Follow-up to #16072, as requested in review. Converts the one-line non-free.list entry to a deb822 non-free.sources block matching mylar3 and sabnzbd, and renames the cleanup rm to match the new filename. Also drops the redundant main and contrib components, which the base debian.sources already provides. Declaring them a second time made apt emit "Target Packages ... is configured multiple times" warnings on every build; only non-free is needed for unrar. Co-authored-by: Tim Moore <tim.moore@ingenuity.com.au> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -19,12 +19,16 @@ $STD apt install -y \
|
||||
git-core \
|
||||
mediainfo
|
||||
|
||||
cat <<EOF >/etc/apt/sources.list.d/non-free.list
|
||||
deb https://deb.debian.org/debian trixie main contrib non-free non-free-firmware
|
||||
cat <<EOF >/etc/apt/sources.list.d/non-free.sources
|
||||
Types: deb
|
||||
URIs: https://deb.debian.org/debian
|
||||
Suites: trixie
|
||||
Components: non-free non-free-firmware
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
EOF
|
||||
$STD apt update
|
||||
$STD apt install -y unrar
|
||||
rm /etc/apt/sources.list.d/non-free.list
|
||||
rm /etc/apt/sources.list.d/non-free.sources
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Medusa"
|
||||
|
||||
Reference in New Issue
Block a user