diff options
author | Simon Rettberg | 2023-09-28 15:58:56 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-09-28 15:58:56 +0200 |
commit | cabfeb58cff67543cd9bc742d905842da2c0eb8e (patch) | |
tree | 6afbb983460c71742ecdb7cffa90fc9e6284aa1f /satellit_upgrader | |
parent | [SSUS] Add support for Debian 12, reword Debian 9 warning text a bit (diff) | |
download | setup-scripts-cabfeb58cff67543cd9bc742d905842da2c0eb8e.tar.gz setup-scripts-cabfeb58cff67543cd9bc742d905842da2c0eb8e.tar.xz setup-scripts-cabfeb58cff67543cd9bc742d905842da2c0eb8e.zip |
[SSUS] Add warning if OS is 32bit
Diffstat (limited to 'satellit_upgrader')
-rw-r--r-- | satellit_upgrader/updater.template.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh index 5cd45b6..d325f04 100644 --- a/satellit_upgrader/updater.template.sh +++ b/satellit_upgrader/updater.template.sh @@ -42,13 +42,23 @@ fi delay= readonly MAJOR CODENAME + +if [[ "$(uname -m)" == i?86 ]]; then + echo "Please note: This bwLehrpool server is still running on a 32 Bit OS install." + echo "This release will be the last one with 32 Bit support. Please consider backing" + echo "up your configuration and setting up a fresh server with the latest" + echo "bwLehrpool server image." + echo "" + delay=1 +fi + if (( MAJOR < 9 )); then echo "This Version of the bwLehrpool Satellite Server is too old!" echo "Back up your existing configuration via slx-admin and import it into a" echo "fresh install, or manually dist-upgrade this server." exit 1 fi -if (( MAJOR > 11 )); then +if (( MAJOR > 12 )); then echo "This Version of the bwLehrpool Satellite Server is too new!" exit 1 fi |