]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Fix: image creation for the current debian testing
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 23 Oct 2020 19:08:45 +0000 (16:08 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 23 Oct 2020 19:08:45 +0000 (16:08 -0300)
kvmx-create

index 71e9dc08ea850561ffaf71ab1c5de7f448257e13..a9cc62a076601aa3f727fbf596d7122414e676a4 100755 (executable)
@@ -248,7 +248,7 @@ function kvmx_create_custom {
 
   # Apt
   if [ "$distro" == "debian" ]; then
-    if [ "$version" != "sid" ]; then
+    if [ "$version" != "sid" ] && [ "$version" != "bullseye" ]; 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
     fi