summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader
diff options
context:
space:
mode:
authorSimon Rettberg2017-01-16 15:30:29 +0100
committerSimon Rettberg2017-01-16 15:30:29 +0100
commitacf9f22014e4bc65eb2e1d2a39f0e789dca12dff (patch)
treeef7933400a70723023d8707c57aba8fb6482f29b /satellit_upgrader
parent[SSUS] Add lean mode that excludes static files (diff)
downloadsetup-scripts-acf9f22014e4bc65eb2e1d2a39f0e789dca12dff.tar.gz
setup-scripts-acf9f22014e4bc65eb2e1d2a39f0e789dca12dff.tar.xz
setup-scripts-acf9f22014e4bc65eb2e1d2a39f0e789dca12dff.zip
[SSUS] Remove check for current webif version; broken anyways
Diffstat (limited to 'satellit_upgrader')
-rw-r--r--satellit_upgrader/updater.template.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index 8a9076b..5f02736 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -109,8 +109,7 @@ fi
# Get current webif version
if [ -n "$TGZ_SLXADMIN" ]; then
declare -rg CURRENT_WEBIF_VERSION=$(mysql -e 'SELECT value FROM openslx.property WHERE name = "webif-version" LIMIT 1' | tail -n 1)
- [ -z "$CURRENT_WEBIF_VERSION" ] && perror "Could not determine current webif version"
- if [ "$TARGET_WEBIF_VERSION" = "missing" ] || [ "$CURRENT_WEBIF_VERSION" -le "$TARGET_WEBIF_VERSION" ]; then
+ if [ -z "$CURRENT_WEBIF_VERSION" ] || [ "$TARGET_WEBIF_VERSION" = "missing" ] || [ "$CURRENT_WEBIF_VERSION" -le "$TARGET_WEBIF_VERSION" ]; then
: # Negate so NaN triggers else branch
else
perror "This update seems to be older than the server version you're currently running"