summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader/pack-update.sh
diff options
context:
space:
mode:
authorSimon Rettberg2016-09-09 13:58:04 +0200
committerSimon Rettberg2016-09-09 13:58:04 +0200
commitd9eabe8d94c31c045ddb6e50536ff1325581b43b (patch)
tree8ea71b2570b667acfe14aa58df81cfdcddf9ed9e /satellit_upgrader/pack-update.sh
parent[SSPS] Update slxadmin config.php (diff)
downloadsetup-scripts-d9eabe8d94c31c045ddb6e50536ff1325581b43b.tar.gz
setup-scripts-d9eabe8d94c31c045ddb6e50536ff1325581b43b.tar.xz
setup-scripts-d9eabe8d94c31c045ddb6e50536ff1325581b43b.zip
[SSUS] Minor improvements (patch version, wait for ipxe compile, ...)
Diffstat (limited to 'satellit_upgrader/pack-update.sh')
-rwxr-xr-xsatellit_upgrader/pack-update.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/satellit_upgrader/pack-update.sh b/satellit_upgrader/pack-update.sh
index 526956e..9e6d3b6 100755
--- a/satellit_upgrader/pack-update.sh
+++ b/satellit_upgrader/pack-update.sh
@@ -87,6 +87,7 @@ if [ -e "$TGZ_SLXADMIN" ]; then
[ -n "$VERS" ] || perror "Could not extract slx-admin version!"
echo "Version: $VERS"
sed -i "s/%TARGET_WEBIF_VERSION%/${VERS}/" "$UPDATER" || perror "could not patch slxadmin version in updater"
+ sed -i "s/%SLXADMIN_FOOTER%/$(date '+%y-%m-%d %H:%M')/" "$UPDATER" || perror "could not patch slxadmin footer in updater"
patchtgz "TGZ_SLXADMIN" "$TGZ_SLXADMIN"
else
echo "no"