summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader
diff options
context:
space:
mode:
authorSimon Rettberg2017-04-26 15:56:29 +0200
committerSimon Rettberg2017-04-26 15:56:29 +0200
commitaf776d41c06e3e2e9128600284eb978572a3f79d (patch)
treeb6cd033ab71aff76226e2799e452a428eaf65a3a /satellit_upgrader
parent[SSPS] Add support for conf.d lighttpd directory (diff)
downloadsetup-scripts-af776d41c06e3e2e9128600284eb978572a3f79d.tar.gz
setup-scripts-af776d41c06e3e2e9128600284eb978572a3f79d.tar.xz
setup-scripts-af776d41c06e3e2e9128600284eb978572a3f79d.zip
[SSUS] Delete old statistics api
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"