aboutsummaryrefslogtreecommitdiff
path: root/kvmx-create
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-12-07 18:16:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-12-07 18:16:57 -0300
commitda1996d963a82db73933132fb2085b8560a3e852 (patch)
treee1b18a8f93e96c195938da05bb1bfcfbefb5fcfe /kvmx-create
parent22046b7a58f52b15f2b5a4121bb15b7765d55faf (diff)
downloadkvmx-da1996d963a82db73933132fb2085b8560a3e852.tar.gz
kvmx-da1996d963a82db73933132fb2085b8560a3e852.tar.bz2
Fix: security.debian.org version check
Diffstat (limited to 'kvmx-create')
-rwxr-xr-xkvmx-create2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx-create b/kvmx-create
index 5263e71..4e88e96 100755
--- a/kvmx-create
+++ b/kvmx-create
@@ -264,7 +264,7 @@ EOF
# Apt
if [ "$distro" == "debian" ]; then
- if [ "$version" != "sid" ] && [ "$version" == "experimental" ] && [ "$version" != "$NEXT_DEBIAN_RELEASE" ]; then
+ 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
fi