diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-02-13 21:11:35 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-02-13 21:11:35 +0100 |
commit | 4ed657239143f4886b7a922c509525948d2eeb6f (patch) | |
tree | a7f9187ada5e4118c5ca82eaecf2200199829b4a /install-itzks-workstation | |
parent | f4e8ff90cc74047c5b4597bf348c6991e4a3deb9 (diff) | |
download | itzks-install-script-4ed657239143f4886b7a922c509525948d2eeb6f.tar.gz itzks-install-script-4ed657239143f4886b7a922c509525948d2eeb6f.tar.bz2 itzks-install-script-4ed657239143f4886b7a922c509525948d2eeb6f.zip |
Revert "apt_install_if_not: Play tricks on bash."
This reverts commit f4e8ff90cc74047c5b4597bf348c6991e4a3deb9.
Diffstat (limited to 'install-itzks-workstation')
-rwxr-xr-x | install-itzks-workstation | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation index ff6025f..3063168 100755 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -14,7 +14,7 @@ function apt_install_if_not() { [ -d "/usr/share/doc/$pkg" ] || install_pkgs="$install_pkgs $pkg" done set +e - test -z "$install_pkgs" || apt-get install -y $install_pkgs + test -n "$install_pkgs" && apt-get install -y $install_pkgs ret=$? set -e return $ret |