summaryrefslogtreecommitdiff
path: root/install-itzks-workstation
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-28 21:51:04 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-28 21:51:04 +0200
commite7d2cd49a731408cd9485210770de919b6e3d48d (patch)
tree9105ad62bc4503541e0cfce1979a7f984362e483 /install-itzks-workstation
parent8247697401390de87db84da41774be5f0ddbea17 (diff)
downloaditzks-install-script-e7d2cd49a731408cd9485210770de919b6e3d48d.tar.gz
itzks-install-script-e7d2cd49a731408cd9485210770de919b6e3d48d.tar.bz2
itzks-install-script-e7d2cd49a731408cd9485210770de919b6e3d48d.zip
APT: upgrade the base system before doing anything else. This esp. should pull in latest debian-edu-config before we install our ITZkS packages.
Diffstat (limited to 'install-itzks-workstation')
-rwxr-xr-xinstall-itzks-workstation4
1 files changed, 4 insertions, 0 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index e65b602..fb29e94 100755
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -49,6 +49,10 @@ fi
# Retrieve LDAP CA certificate
invoke-rc.d fetch-ldap-cert start
+# Run upgrades to ensure the base system is as up-to-date as possible
+apt-get update 1>/dev/null
+apt-get upgrade -y
+
# Add itzks.list and its contents if file not already there
if [ ! -e "/etc/apt/sources.list.d/itzks.list" ]; then
touch /etc/apt/sources.list.d/itzks.list