diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-09-29 12:15:22 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-09-29 12:15:22 -0300 |
commit | 3dd16ce361e30d805f2bb983ab8e365f8ef1035a (patch) | |
tree | 19904b46156c24fcd9a847fb852b99bf26088c35 /lib | |
parent | 5fde61c778e0fec2c693cc35e2711c63d4b9bb90 (diff) | |
download | hydra-3dd16ce361e30d805f2bb983ab8e365f8ef1035a.tar.gz hydra-3dd16ce361e30d805f2bb983ab8e365f8ef1035a.tar.bz2 |
Auto install dependencies
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hydra/misc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hydra/misc b/lib/hydra/misc index 894502d..0105760 100644 --- a/lib/hydra/misc +++ b/lib/hydra/misc @@ -66,7 +66,7 @@ function hydra_install_package { if [ "$?" == "1" ]; then echo "Installing package $1..." - DEBIAN_FRONTEND=noninteractive apt-get install $1 -y + DEBIAN_FRONTEND=noninteractive $SUDO apt-get install $1 -y || exit 1 fi } |