mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-20 17:03:05 +01:00
Fixes (#12675)
This commit is contained in:
@@ -8192,3 +8192,23 @@ function fetch_and_deploy_from_url() {
|
||||
msg_ok "Successfully deployed archive to $directory"
|
||||
return 0
|
||||
}
|
||||
|
||||
setup_nonfree() {
|
||||
local sources_file="/etc/apt/sources.list.d/debian-nonfree.sources"
|
||||
|
||||
if [ ! -f "$sources_file" ]; then
|
||||
cat <<EOF >$sources_file
|
||||
Types: deb
|
||||
URIs: http://deb.debian.org/debian
|
||||
Suites: trixie trixie-updates
|
||||
Components: main contrib non-free non-free-firmware
|
||||
|
||||
Types: deb
|
||||
URIs: http://security.debian.org/debian-security
|
||||
Suites: trixie-security
|
||||
Components: main contrib non-free non-free-firmware
|
||||
EOF
|
||||
fi
|
||||
$STD apt update
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user