From 2c4add0a78e4593bc378a57a51acdc4a502d8381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20R=C3=BChrig?= Date: Wed, 1 Jan 2025 13:28:29 +0100 Subject: [PATCH] Debug. --- ct/5etools.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/5etools.sh b/ct/5etools.sh index 27bffa6d..caade258 100644 --- a/ct/5etools.sh +++ b/ct/5etools.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/TheRealVira/ProxmoxVE/refs/heads/5etools/misc/build.func) # Copyright (c) 2021-2024 community-scripts ORG # Author: TheRealVira # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE @@ -38,7 +38,7 @@ function update_script() { # Crawling the new version and checking whether an update is required RELEASE=$(curl -s https://api.github.com/repos/5etools-mirror-3/5etools-src/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') - if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f "/opt/${APP}_version.txt" ]]; then + if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f "/opt/5etools_version.txt" ]]; then msg_info "Updating $APP to ${RELEASE}" apt-get update &>/dev/null