From 790727896be899cdbafbf64f78d8180b62c5aaed Mon Sep 17 00:00:00 2001 From: Milan Date: Fri, 25 Oct 2024 09:50:42 +0200 Subject: [PATCH] keycloak: correct use of old variable in update script --- rollback/keycloak/update.sh | 2 +- updates/keycloak.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rollback/keycloak/update.sh b/rollback/keycloak/update.sh index 865d485..5bde6bd 100644 --- a/rollback/keycloak/update.sh +++ b/rollback/keycloak/update.sh @@ -42,7 +42,7 @@ unzip keycloak-$release.zip rm keycloak-$release.zip [ -L latest ] && rm -v latest -ln -sv $location/keycloak-$1 $location/latest +ln -sv $location/keycloak-$release $location/latest # default config got the same filename! rm -v latest/conf/keycloak.conf diff --git a/updates/keycloak.sh b/updates/keycloak.sh index e334bc8..3bda2c3 100644 --- a/updates/keycloak.sh +++ b/updates/keycloak.sh @@ -49,7 +49,7 @@ unzip keycloak-$release.zip rm keycloak-$release.zip [ -L $location/latest ] && rm -v $location/latest -ln -sv $location/keycloak-$1 $location/latest +ln -sv $location/keycloak-$release $location/latest # default config got the same filename! rm -v $location/latest/conf/keycloak.conf