diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2021-12-07 18:16:57 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2021-12-07 18:16:57 -0300 |
commit | da1996d963a82db73933132fb2085b8560a3e852 (patch) | |
tree | e1b18a8f93e96c195938da05bb1bfcfbefb5fcfe | |
parent | 22046b7a58f52b15f2b5a4121bb15b7765d55faf (diff) | |
download | kvmx-da1996d963a82db73933132fb2085b8560a3e852.tar.gz kvmx-da1996d963a82db73933132fb2085b8560a3e852.tar.bz2 |
Fix: security.debian.org version check
-rwxr-xr-x | kvmx-create | 2 |
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 |