]> gitweb.fluxo.info Git - hydra.git/commitdiff
Apt-get with -y
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 7 May 2011 02:31:06 +0000 (23:31 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 7 May 2011 02:31:06 +0000 (23:31 -0300)
lib/hydra/misc

index 6f74f8a199d1a5efa71d12ceb6465c6100313b2c..62fd7f54e1b82eff4a3072eb8697181c1438ccfe 100644 (file)
@@ -34,6 +34,6 @@ function hydra_install_package {
   dpkg -l $1 &> /dev/null
 
   if [ "$?" == "1" ]; then
-    apt-get install $1
+    apt-get install $1 -y
   fi
 }