summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader
diff options
context:
space:
mode:
Diffstat (limited to 'satellit_upgrader')
-rw-r--r--satellit_upgrader/updater.template.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index 09721ca..de8e9b5 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -228,6 +228,8 @@ if [ -n "$TGZ_SLXADMIN" ]; then
pwarning "slxadmin updater didn't finish with 'Done.'"
fi
)
+ # Delete old statistics api
+ rm -f -- "/srv/openslx/www/slx-admin/apis/statistics.inc.php"
fixperms "$PATH_SLXADMIN" root:root
chmod 0640 "$PATH_SLXADMIN/config.php"