From fe77becc6fb65c439fbba0b1fae03021bf3cb8d5 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 28 Sep 2023 15:59:12 +0200 Subject: [SSUS] Clean up old slx-admin modules --- satellit_upgrader/updater.template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-55-g7522