summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader
diff options
context:
space:
mode:
authorSimon Rettberg2023-09-28 15:59:12 +0200
committerSimon Rettberg2023-09-28 15:59:12 +0200
commitfe77becc6fb65c439fbba0b1fae03021bf3cb8d5 (patch)
treefcaa38b10a3934ab120fd17012db9fce95b8eef6 /satellit_upgrader
parent[SSUS] Add warning if OS is 32bit (diff)
downloadsetup-scripts-fe77becc6fb65c439fbba0b1fae03021bf3cb8d5.tar.gz
setup-scripts-fe77becc6fb65c439fbba0b1fae03021bf3cb8d5.tar.xz
setup-scripts-fe77becc6fb65c439fbba0b1fae03021bf3cb8d5.zip
[SSUS] Clean up old slx-admin modules
Diffstat (limited to 'satellit_upgrader')
-rw-r--r--satellit_upgrader/updater.template.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index d325f04..7654880 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -491,7 +491,7 @@ if [ -n "$TGZ_SLXADMIN" ]; then
# Remember boot module if already set
bootmodule=$( basename "$( readlink -f "$PATH_SLXADMIN/modules/serversetup" 2> /dev/null )" )
# Remove old files - wipe selectively, just in case someone added a new module by hand
- rm -rf -- "$PATH_SLXADMIN/"{inc,apis,modules,templates,Mustache,script,style,modules-available/serversetup-bwlp}
+ rm -rf -- "$PATH_SLXADMIN/"{inc,apis,modules,templates,Mustache,script,style,modules-available/serversetup-bwlp,modules-available/support,modules-available/usermanagement,modules-available/baseconfig_partitions_cdn,modules-available/internetaccess}
while read -r line || [[ -n "$line" ]]; do
rm -rf -- "${PATH_SLXADMIN:?}/$line"
done < "$INCMODS"