diff --git a/ct/pocketid.sh b/ct/pocketid.sh index 5e717f6f8..5d306f06b 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 6ce62a195..167c831bb 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