diff options
author | Simon Rettberg | 2019-03-28 09:57:21 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-28 09:57:21 +0100 |
commit | 0c866dd8933971da0568958e7caa2693df37bd89 (patch) | |
tree | 491e477621be340137da6fb7f3de4e4be122625d /satellit_upgrader/updater.template.sh | |
parent | [SSPS] slx-admin boot: Also log non-critical messages (diff) | |
download | setup-scripts-0c866dd8933971da0568958e7caa2693df37bd89.tar.gz setup-scripts-0c866dd8933971da0568958e7caa2693df37bd89.tar.xz setup-scripts-0c866dd8933971da0568958e7caa2693df37bd89.zip |
[SSUS] Require manual --version spec
Diffstat (limited to 'satellit_upgrader/updater.template.sh')
-rw-r--r-- | satellit_upgrader/updater.template.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh index bfc434c..478ce81 100644 --- a/satellit_upgrader/updater.template.sh +++ b/satellit_upgrader/updater.template.sh @@ -329,10 +329,7 @@ if [ -n "$TGZ_SLXADMIN" ]; then FOOTER="$SLXADMIN_FOOTER" [[ "$FOOTER" == %*% ]] && FOOTER= if [ -z "$FOOTER" ]; then - D=$(stat -c %Y "$0") - [ -z "$D" ] && D=$(date +%s) - D=$(date -d "@$D" "+%y-%m-%d %H:%M") - FOOTER="Unknown $D" + FOOTER="Build $TARGET_WEBIF_VERSION" fi FOOTER="$OLDFOOTER [Update: ${FOOTER}]" sed -i "s#^.*define.*CONFIG_FOOTER.*\$#define('CONFIG_FOOTER', '${FOOTER}');#" "${PATH_SLXADMIN}/config.php" |