diff --git a/ct/alpine-it-tools.sh b/ct/alpine-it-tools.sh index 0aaa2a175..40d9d087c 100644 --- a/ct/alpine-it-tools.sh +++ b/ct/alpine-it-tools.sh @@ -30,7 +30,7 @@ if [ ! -d /usr/share/nginx/html ]; then fi RELEASE=$(curl -s https://api.github.com/repos/CorentinTh/it-tools/releases/latest | grep '"tag_name":' | cut -d '"' -f4) -if [ "${RELEASE}" != "$(cat /opt/${APP}_version.txt" ] || [ ! -f /opt/${APP}_version.txt ]; then +if [ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ] || [ ! -f /opt/${APP}_version.txt ]; then DOWNLOAD_URL="https://github.com/CorentinTh/it-tools/releases/download/${RELEASE}/it-tools-${RELEASE#v}.zip" msg_info "Updating ${APP} LXC" curl -fsSL -o it-tools.zip "$DOWNLOAD_URL"