diff options
author | Simon Rettberg | 2016-02-12 11:20:02 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-02-12 11:20:02 +0100 |
commit | afd4c28d072ce3fef78aaee68ce0f3ff9e3e102a (patch) | |
tree | b65c0e4b8c3abafd0735c257d8825b11ccf48640 /satellit_upgrader | |
parent | [SSUS] Add very basic sanity check before starting update (diff) | |
download | setup-scripts-afd4c28d072ce3fef78aaee68ce0f3ff9e3e102a.tar.gz setup-scripts-afd4c28d072ce3fef78aaee68ce0f3ff9e3e102a.tar.xz setup-scripts-afd4c28d072ce3fef78aaee68ce0f3ff9e3e102a.zip |
[SSUS] Remove translation link in slxadmin
Diffstat (limited to 'satellit_upgrader')
-rw-r--r-- | satellit_upgrader/updater.template.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh index 85b5163..6a0dac8 100644 --- a/satellit_upgrader/updater.template.sh +++ b/satellit_upgrader/updater.template.sh @@ -131,6 +131,8 @@ if [ -n "$TGZ_SLXADMIN" ]; then rm -rf -- "$PATH_SLXADMIN/inc" "$PATH_SLXADMIN/apis" "$PATH_SLXADMIN/modules" "$PATH_SLXADMIN/templates" tar -x -C "$PATH_SLXADMIN" -f "$TMPDIR/$TGZ_SLXADMIN" rm -- "$PATH_SLXADMIN/config.php.example" + # Remove translation feature + sed -i '/<li>.*do=Translation.*<.li>/d' "$PATH_SLXADMIN/templates/main-menu.html" fixperms "$PATH_SLXADMIN" root:root chmod 0640 "$PATH_SLXADMIN/config.php" chown root:www-data "$PATH_SLXADMIN/config.php" |