From 873ae3e8af20fe23ca176b3dd5c8da1fbca0d5a2 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> Date: Thu, 6 Feb 2025 13:43:45 +0100 Subject: [PATCH] Fix: Pocket-ID Change link to GH Repo (#2082) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix Pocket-ID, change link to GH Repo * change source-link * change source-link --------- Co-authored-by: Rögl-Brunner Michel Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com> --- ct/pocketid.sh | 6 +++--- install/pocketid-install.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ct/pocketid.sh b/ct/pocketid.sh index 5e717f6f..5d306f06 100755 --- a/ct/pocketid.sh +++ b/ct/pocketid.sh @@ -3,7 +3,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m # Copyright (c) 2021-2025 community-scripts ORG # Author: Snarkenfaugister # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/stonith404/pocket-id +# Source: https://github.com/pocket-id/pocket-id # App Default Values APP="PocketID" @@ -34,7 +34,7 @@ function update_script() { exit fi - RELEASE=$(curl -fsSL https://api.github.com/repos/stonith404/pocket-id/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') + RELEASE=$(curl -fsSL https://api.github.com/repos/pocket-id/pocket-id/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then msg_info "Updating $APP" @@ -50,7 +50,7 @@ function update_script() { cp /opt/pocket-id/backend/.env /opt/backend.env cp /opt/pocket-id/frontend/.env /opt/frontend.env rm -r /opt/pocket-id - wget -q "https://github.com/stonith404/pocket-id/archive/refs/tags/v${RELEASE}.zip" + wget -q "https://github.com/pocket-id/pocket-id/archive/refs/tags/v${RELEASE}.zip" unzip -q v${RELEASE}.zip mv pocket-id-${RELEASE} /opt/pocket-id mv /opt/data /opt/pocket-id/backend/data diff --git a/install/pocketid-install.sh b/install/pocketid-install.sh index 6ce62a19..167c831b 100644 --- a/install/pocketid-install.sh +++ b/install/pocketid-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2025 community-scripts ORG # Author: Snarkenfaugister # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/stonith404/pocket-id +# Source: https://github.com/pocket-id/pocket-id source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" color @@ -48,8 +48,8 @@ msg_ok "Installed Golang" read -r -p "What public URL do you want to use (e.g. pocketid.mydomain.com)? " public_url msg_info "Setup Pocket ID" cd /opt -RELEASE=$(curl -s https://api.github.com/repos/stonith404/pocket-id/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -wget -q "https://github.com/stonith404/pocket-id/archive/refs/tags/v${RELEASE}.zip" +RELEASE=$(curl -s https://api.github.com/repos/pocket-id/pocket-id/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') +wget -q "https://github.com/pocket-id/pocket-id/archive/refs/tags/v${RELEASE}.zip" unzip -q v${RELEASE}.zip mv pocket-id-${RELEASE}/ /opt/pocket-id