diff options
author | Simon Rettberg | 2017-04-26 15:58:58 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-04-26 15:58:58 +0200 |
commit | 7d43a6c6f48c55040e9a625554be93eb1256891c (patch) | |
tree | b4ea98281b08a3f54305d8b2b76184dc333bb6f6 /satellit_upgrader/updater.template.sh | |
parent | [SSUS] Delete old statistics api (diff) | |
download | setup-scripts-7d43a6c6f48c55040e9a625554be93eb1256891c.tar.gz setup-scripts-7d43a6c6f48c55040e9a625554be93eb1256891c.tar.xz setup-scripts-7d43a6c6f48c55040e9a625554be93eb1256891c.zip |
[SSUS] Write CONFIG_REPORTING_URL to config.php
Diffstat (limited to 'satellit_upgrader/updater.template.sh')
-rw-r--r-- | satellit_upgrader/updater.template.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh index de8e9b5..4b2da57 100644 --- a/satellit_upgrader/updater.template.sh +++ b/satellit_upgrader/updater.template.sh @@ -202,6 +202,7 @@ if [ -n "$TGZ_SLXADMIN" ]; then FOOTER="$OLDFOOTER [Update: ${FOOTER}]" sed -i "s#^.*define.*CONFIG_FOOTER.*\$#define('CONFIG_FOOTER', '${FOOTER}');#" "${PATH_SLXADMIN}/config.php" grep -q 'CONFIG_FOOTER' "${PATH_SLXADMIN}/config.php" || echo "define('CONFIG_FOOTER', '${FOOTER}');" >> "${PATH_SLXADMIN}/config.php" + grep -q 'CONFIG_REPORTING_URL' "${PATH_SLXADMIN}/config.php" || echo "define('CONFIG_REPORTING_URL', 'https://bwlp-masterserver.ruf.uni-freiburg.de/rpc/');" >> "${PATH_SLXADMIN}/config.php" echo "$TARGET_WEBIF_VERSION" > "${PATH_SLXADMIN}/version" fi # Enable modules |