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