aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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