aboutsummaryrefslogtreecommitdiff
path: root/kvmx-create
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-07-15 10:11:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-07-15 10:11:35 -0300
commit54a16114f444d4672b63b19bbe442f4ae320fc13 (patch)
tree9364edaeb5a255afa025b15e0dd344a5a53edf43 /kvmx-create
parent59035730a7417616a45e27ced00af9a9979d1455 (diff)
downloadkvmx-54a16114f444d4672b63b19bbe442f4ae320fc13.tar.gz
kvmx-54a16114f444d4672b63b19bbe442f4ae320fc13.tar.bz2
Fix: kvmx-create: debian: include backports repositories
Diffstat (limited to 'kvmx-create')
-rwxr-xr-xkvmx-create2
1 files changed, 2 insertions, 0 deletions
diff --git a/kvmx-create b/kvmx-create
index 983ebad..0bfac35 100755
--- a/kvmx-create
+++ b/kvmx-create
@@ -267,6 +267,8 @@ EOF
if [ "$version" != "sid" ] && [ "$version" != "experimental" ] && [ "$version" != "$NEXT_DEBIAN_RELEASE" ]; then
echo "deb http://security.debian.org/debian-security $version-security main contrib non-free" | $SUDO tee -a $WORK/etc/apt/sources.list > /dev/null
echo "deb-src http://security.debian.org/debian-security $version-security main contrib non-free" | $SUDO tee -a $WORK/etc/apt/sources.list > /dev/null
+ echo "deb https://deb.debian.org/debian/ $version-backports main contrib non-free" | $SUDO tee -a $WORK/etc/apt/sources.list > /dev/null
+ echo "deb-src https://deb.debian.org/debian/ $version-backports main contrib non-free" | $SUDO tee -a $WORK/etc/apt/sources.list > /dev/null
fi
elif [ "$distro" == "ubuntu" ]; then
$SUDO sed -i -e 's/main/main restricted universe multiverse/' $WORK/etc/apt/sources.list