summaryrefslogtreecommitdiff
path: root/install-itzks-workstation
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-13 21:08:54 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-13 21:08:54 +0100
commitf4e8ff90cc74047c5b4597bf348c6991e4a3deb9 (patch)
treeeff1d5263b0907c3e03d6f9b659223f3dc1e38b9 /install-itzks-workstation
parent3f0d2fc9cf63a274776efc0c653f1e9d30e53183 (diff)
downloaditzks-install-script-f4e8ff90cc74047c5b4597bf348c6991e4a3deb9.tar.gz
itzks-install-script-f4e8ff90cc74047c5b4597bf348c6991e4a3deb9.tar.bz2
itzks-install-script-f4e8ff90cc74047c5b4597bf348c6991e4a3deb9.zip
apt_install_if_not: Play tricks on bash.
Diffstat (limited to 'install-itzks-workstation')
-rwxr-xr-xinstall-itzks-workstation2
1 files changed, 1 insertions, 1 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index 3063168..ff6025f 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 -n "$install_pkgs" && apt-get install -y $install_pkgs
+ test -z "$install_pkgs" || apt-get install -y $install_pkgs
ret=$?
set -e
return $ret