summaryrefslogtreecommitdiffstats
path: root/satellit_installer/includes/20-system_upgrade.inc
diff options
context:
space:
mode:
authorChristian Rößler2015-02-26 14:02:56 +0100
committerChristian Rößler2015-02-26 14:02:56 +0100
commitce30eff3159a773679c3aca12a58d5a62220119d (patch)
tree3ea4e9f1bd98802ab4fb2a69d01dbd5f8f634ff4 /satellit_installer/includes/20-system_upgrade.inc
parent[SSPS] firstrun_script.sh: rmdir-ing /root/installer9 (diff)
downloadsetup-scripts-ce30eff3159a773679c3aca12a58d5a62220119d.tar.gz
setup-scripts-ce30eff3159a773679c3aca12a58d5a62220119d.tar.xz
setup-scripts-ce30eff3159a773679c3aca12a58d5a62220119d.zip
[SSPS] Several more preparations for version numbers [TO BE DEBUGGED!]
Diffstat (limited to 'satellit_installer/includes/20-system_upgrade.inc')
-rw-r--r--satellit_installer/includes/20-system_upgrade.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/satellit_installer/includes/20-system_upgrade.inc b/satellit_installer/includes/20-system_upgrade.inc
new file mode 100644
index 0000000..8134203
--- /dev/null
+++ b/satellit_installer/includes/20-system_upgrade.inc
@@ -0,0 +1,4 @@
+system_upgrade() {
+ apt-get update || perror "apt-get update fehlgeschlagen - Abbruch!"
+ apt-get -y dist-upgrade || perror "apt-get dist-upgrade fehlgeschlagen - Abbruch!"
+}