aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-10-08 14:34:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-10-08 14:34:17 -0300
commit22046b7a58f52b15f2b5a4121bb15b7765d55faf (patch)
tree5a94376617d8fad70a75b0382ec1a9d0854bdf9e
parent74a0cd21131d89b0b0bc661a9ac9d32dae0dca70 (diff)
downloadkvmx-22046b7a58f52b15f2b5a4121bb15b7765d55faf.tar.gz
kvmx-22046b7a58f52b15f2b5a4121bb15b7765d55faf.tar.bz2
Fix: provision: new security.debian.org URL
-rwxr-xr-xkvmx-create4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmx-create b/kvmx-create
index 8a1bdba..5263e71 100755
--- a/kvmx-create
+++ b/kvmx-create
@@ -265,8 +265,8 @@ EOF
# Apt
if [ "$distro" == "debian" ]; then
if [ "$version" != "sid" ] && [ "$version" == "experimental" ] && [ "$version" != "$NEXT_DEBIAN_RELEASE" ]; then
- echo "deb http://security.debian.org/ $version/updates main contrib non-free" | $SUDO tee -a $WORK/etc/apt/sources.list > /dev/null
- echo "deb-src http://security.debian.org/ $version/updates main contrib non-free" | $SUDO tee -a $WORK/etc/apt/sources.list > /dev/null
+ 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
fi
elif [ "$distro" == "ubuntu" ]; then
$SUDO sed -i -e 's/main/main restricted universe multiverse/' $WORK/etc/apt/sources.list