From 15377bb2836848a5f00a07bd83274fde571c6581 Mon Sep 17 00:00:00 2001 From: Elie DELPIERRE <49657231+MehrunesSky@users.noreply.github.com> Date: Sat, 16 May 2026 10:24:53 +0200 Subject: [PATCH] Update Tinyauth source URL in installation script (#14483) * Update Tinyauth source URL in installation script * fix(tinyauth): update Tinyauth repo in ct script * fix(tinyauth-alpine): update repo oops forgot the alpine script --------- Co-authored-by: Sam Heinz --- ct/alpine-tinyauth.sh | 6 +++--- ct/tinyauth.sh | 6 +++--- install/alpine-tinyauth-install.sh | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ct/alpine-tinyauth.sh b/ct/alpine-tinyauth.sh index fce08a2b6..125a22178 100644 --- a/ct/alpine-tinyauth.sh +++ b/ct/alpine-tinyauth.sh @@ -3,7 +3,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV # Copyright (c) 2021-2026 community-scripts ORG # Author: Slaviša Arežina (tremor021) | Co-Author: Stavros (steveiliop56) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/steveiliop56/tinyauth +# Source: https://github.com/tinyauthapp/tinyauth APP="Alpine-Tinyauth" var_tags="${var_tags:-alpine;auth}" @@ -29,7 +29,7 @@ function update_script() { $STD apk -U upgrade msg_ok "Updated packages" - RELEASE=$(curl -s https://api.github.com/repos/steveiliop56/tinyauth/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') + RELEASE=$(curl -s https://api.github.com/repos/tinyauthapp/tinyauth/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [ "${RELEASE}" != "$(cat ~/.tinyauth 2>/dev/null)" ] || [ ! -f ~/.tinyauth ]; then msg_info "Stopping Service" $STD service tinyauth stop @@ -51,7 +51,7 @@ function update_script() { msg_info "Updating Tinyauth" rm -f /opt/tinyauth/tinyauth - curl -fsSL "https://github.com/steveiliop56/tinyauth/releases/download/v${RELEASE}/tinyauth-amd64" -o /opt/tinyauth/tinyauth + curl -fsSL "https://github.com/tinyauthapp/tinyauth/releases/download/v${RELEASE}/tinyauth-amd64" -o /opt/tinyauth/tinyauth chmod +x /opt/tinyauth/tinyauth echo "${RELEASE}" >~/.tinyauth msg_ok "Updated Tinyauth" diff --git a/ct/tinyauth.sh b/ct/tinyauth.sh index cb9070007..a0b3b2a9d 100644 --- a/ct/tinyauth.sh +++ b/ct/tinyauth.sh @@ -3,7 +3,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV # Copyright (c) 2021-2026 community-scripts ORG # Author: MickLesk (CanbiZ) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/steveiliop56/tinyauth +# Source: https://github.com/tinyauthapp/tinyauth APP="Tinyauth" var_tags="${var_tags:-auth}" @@ -28,12 +28,12 @@ function update_script() { exit fi - if check_for_gh_release "tinyauth" "steveiliop56/tinyauth"; then + if check_for_gh_release "tinyauth" "tinyauthapp/tinyauth"; then msg_info "Stopping Service" systemctl stop tinyauth msg_ok "Stopped Service" - fetch_and_deploy_gh_release "tinyauth" "steveiliop56/tinyauth" "singlefile" "latest" "/opt/tinyauth" "tinyauth-amd64" + fetch_and_deploy_gh_release "tinyauth" "tinyauthapp/tinyauth" "singlefile" "latest" "/opt/tinyauth" "tinyauth-amd64" msg_info "Starting Service" systemctl start tinyauth diff --git a/install/alpine-tinyauth-install.sh b/install/alpine-tinyauth-install.sh index 5630b41a5..fe759e66b 100644 --- a/install/alpine-tinyauth-install.sh +++ b/install/alpine-tinyauth-install.sh @@ -3,7 +3,7 @@ # Copyright (c) 2021-2026 community-scripts ORG # Author: Slaviša Arežina (tremor021) | Co-Author: Stavros (steveiliop56) # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/steveiliop56/tinyauth +# Source: https://github.com/tinyauthapp/tinyauth source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -19,8 +19,8 @@ msg_ok "Installed Dependencies" msg_info "Installing Tinyauth" mkdir -p /opt/tinyauth -RELEASE=$(curl -s https://api.github.com/repos/steveiliop56/tinyauth/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -curl -fsSL "https://github.com/steveiliop56/tinyauth/releases/download/v${RELEASE}/tinyauth-amd64" -o /opt/tinyauth/tinyauth +RELEASE=$(curl -s https://api.github.com/repos/tinyauthapp/tinyauth/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') +curl -fsSL "https://github.com/tinyauthapp/tinyauth/releases/download/v${RELEASE}/tinyauth-amd64" -o /opt/tinyauth/tinyauth chmod +x /opt/tinyauth/tinyauth PASS=$(openssl rand -base64 8 | tr -dc 'a-zA-Z0-9' | head -c 8) USER=$(htpasswd -Bbn "tinyauth" "${PASS}")