diff --git a/install.sh b/install.sh index 0907341..a9aa438 100755 --- a/install.sh +++ b/install.sh @@ -155,8 +155,8 @@ function run_as_root { function install_apt_pkgs { run_as_root apt-get update || \ - echo "Can't run apt-get commands" >&2 && \ - return 1 + ( echo "Can't run apt-get commands" >&2 && \ + return 1 ) run_as_root apt-get -y install `cat ${BASEDIR}/packages` } diff --git a/packages b/packages index 04b2f76..172ad51 100644 --- a/packages +++ b/packages @@ -2,7 +2,7 @@ git vim nmap whois -dig +dnsutils ack-grep tmux gnupg2