summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader
diff options
context:
space:
mode:
authorSteffen Ritter2023-12-22 15:39:29 +0100
committerSteffen Ritter2023-12-22 15:39:29 +0100
commit9bc3f540381cd2702709a52acae3a90e70f23746 (patch)
tree71332919195245653ef9e73ee23e386bc9c02d18 /satellit_upgrader
parent[SSPS] update taskmanager sudoers file (diff)
downloadsetup-scripts-9bc3f540381cd2702709a52acae3a90e70f23746.tar.gz
setup-scripts-9bc3f540381cd2702709a52acae3a90e70f23746.tar.xz
setup-scripts-9bc3f540381cd2702709a52acae3a90e70f23746.zip
Try to harmonize wording + fix some typos
en: satellite server de: Satellitenserver
Diffstat (limited to 'satellit_upgrader')
-rw-r--r--satellit_upgrader/updater.template.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index 31e7cc6..85066dd 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -4,7 +4,7 @@
[ "x$1" != "x--exec-self" ] && exec /bin/bash "$0" --exec-self "$@"
if [ ! -d "/opt/dmsd" ] && [ ! -d "/srv/openslx/www/slx-admin" ]; then
- echo "This system doesn't look like a bwLehrpool Satellite Server"
+ echo "This system doesn't look like a bwLehrpool satellite server"
echo "(Or this updater is really old)"
exit 1
fi
@@ -53,13 +53,13 @@ if [[ "$(uname -m)" == i?86 ]]; then
fi
if (( MAJOR < 9 )); then
- echo "This Version of the bwLehrpool Satellite Server is too old!"
+ 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 > 12 )); then
- echo "This Version of the bwLehrpool Satellite Server is too new!"
+ echo "This Version of the bwLehrpool satellite server is too new!"
exit 1
fi
if (( MAJOR == 9 )); then
@@ -262,7 +262,7 @@ daemon_reload=
if [ -n "$TGZ_SLXADMIN" ]; then
declare -rg CURRENT_WEBIF_VERSION="$( < "${PATH_SLXADMIN}/version" tail -n 1 )"
# Print state of affairs
- echo "bwLehrpool Satellite Server Update"
+ echo "bwLehrpool satellite server update"
echo -n "Currently installed version: "
sed -r 's/([0-9]{4})([0-9]{3})([0-9]{2})/\1-\2-\3/' <<<"$CURRENT_WEBIF_VERSION"
echo -n "This update package: "
@@ -940,7 +940,7 @@ for i in /opt/openslx/restore.d/*/init.sh; do
done
# Patch the update version in /etc/motd
-sed -r -i 's/(bwLehrpool Satelliten-Server, Version[^[(*]*)\s*([[(]Update.*[])])?\s*/\1 [Update: '"${SLXADMIN_FOOTER}"'] /g' /etc/motd
+sed -r -i 's/(bwLehrpool Satelliten[-sS]*erver, Version[^[(*]*)\s*([[(]Update.*[])])?\s*/\1 [Update: '"${SLXADMIN_FOOTER}"'] /g' /etc/motd
echo ""
echo "Update complete. This update needs a reboot to be working as intended. Please do so now."