]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Fix apt config at kvmx-create
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Jul 2017 13:08:47 +0000 (10:08 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Jul 2017 13:08:47 +0000 (10:08 -0300)
kvmx-create

index bafa79a715e49525e0d54da291b1a2df0cc0f803..ee0393a54519448bf67d5afbb1789585990211f8 100755 (executable)
@@ -231,8 +231,8 @@ function kvmx_create_custom {
 
   # Apt
   if [ "$version" != "sid" ]; then
-    echo "deb http://security.debian.org/ $version/updates main contrib non-free"     | $SUDO tee $WORK/etc/apt/sources.list
-    echo "deb-src http://security.debian.org/ $version/updates main contrib non-free" | $SUDO tee $WORK/etc/apt/sources.list
+    echo "deb http://security.debian.org/ $version/updates main contrib non-free"     | $SUDO tee -a $WORK/etc/apt/sources.list
+    echo "deb-src http://security.debian.org/ $version/updates main contrib non-free" | $SUDO tee -a $WORK/etc/apt/sources.list
   fi
 
   # Mount auxiliary filesystems needed by the bootloader