]> gitweb.fluxo.info Git - hydra.git/commitdiff
Non-interactive upgrade at system-upgrade
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 23 Dec 2013 21:24:37 +0000 (19:24 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 23 Dec 2013 21:24:37 +0000 (19:24 -0200)
share/hydractl/system-upgrade

index 815217ed94bcb9746c90458cf5bc65f1f9f83de7..f7fc8516d4b2f3ee7c728fcc9a4e158a125cb594 100755 (executable)
@@ -83,7 +83,7 @@ hydra_system_upgrade_download
 # Upgrade the system
 echo ""
 echo "Upgrading the system..."
-apt-get dist-upgrade
+DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade
 
 if [ "$?" != "0" ]; then
   echo "Upgrade failed. Please fix it manually and run this command again."