From 3483ea702516b6b8882246ee86fbaf1983eab85b Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Wed, 12 Feb 2025 18:20:00 +0100 Subject: [PATCH] fixes #2301: check for a file named pingvin_version, not a variable with the same name (#2302) --- ct/pingvin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/pingvin.sh b/ct/pingvin.sh index 6e8eadc1d..425240dc0 100644 --- a/ct/pingvin.sh +++ b/ct/pingvin.sh @@ -34,7 +34,7 @@ function update_script() { fi RELEASE=$(curl -s https://api.github.com/repos/stonith404/pingvin-share/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') - if [[ ! -f /opt/$pingvin_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/pingvin_version.txt)" ]]; then + if [[ ! -f /opt/pingvin_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/pingvin_version.txt)" ]]; then msg_info "Stopping Pingvin Share" systemctl stop pm2-root.service