summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-13 21:12:21 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-13 21:12:21 +0100
commiteb28e3cfe9f07f4904b6f2c07b4ce5e7a6b11794 (patch)
tree829f46cb611aa422bb2007ddc000f01ee0d55e4c
parent22724f8d0beebc1aa89c8f09eb2de98bc115591e (diff)
downloaditzks-install-script-eb28e3cfe9f07f4904b6f2c07b4ce5e7a6b11794.tar.gz
itzks-install-script-eb28e3cfe9f07f4904b6f2c07b4ce5e7a6b11794.tar.bz2
itzks-install-script-eb28e3cfe9f07f4904b6f2c07b4ce5e7a6b11794.zip
We may have to endure multiple runs of apt-get update.
-rwxr-xr-xinstall-itzks-workstation6
1 files changed, 4 insertions, 2 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index 575c61d..123a31e 100755
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -55,8 +55,10 @@ find /var/lib/apt/lists/ -type f -delete
# Get update and add itzks-keyring and itzks-systems-common package
apt-get update 1>/dev/null
-apt_install_if_not itzks-keyring && apt-get update 1>/dev/null
-apt_install_if_not itzks-systems-common && apt-get update 1>/dev/null
+apt_install_if_not itzks-keyring
+apt-get update 1>/dev/null
+apt_install_if_not itzks-systems-common
+apt-get update 1>/dev/null
# Install the itzks-systems-workstation package
apt_install_if_not ocsinventory-agent