]> git.donarmstrong.com Git - neurodebian.git/commitdiff
VM: nd-autoinstall - add --trivial-only to prevent actual installation while getting...
authorYaroslav Halchenko <debian@onerussian.com>
Tue, 8 Feb 2011 16:18:15 +0000 (11:18 -0500)
committerYaroslav Halchenko <debian@onerussian.com>
Tue, 8 Feb 2011 16:18:15 +0000 (11:18 -0500)
tools/nd-autoinstall

index dd71b3f47012c915b42c38aae5418db9c77cda09..05721f78c42b83769c453da6989631ecb117be75 100755 (executable)
@@ -149,7 +149,7 @@ fi
 
 if [ $do_install -eq 1 ]; then
     # Figure out amount of space to download/occupy
-    space_info="$(LC_ALL=C apt-get --print-uris install $ai_package 2>/dev/null \
+    space_info="$(LC_ALL=C apt-get --trivial-only --print-uris install $ai_package 2>/dev/null \
         | grep -e '^\(Need to get \|After this\)' || : )"
     if [ $ai_force -eq 0 ]; then
                if ! zenity --question \