From e72cf6624c1d01da14772cbfd1557f5b7db68585 Mon Sep 17 00:00:00 2001 From: thieneret <123479547+thieneret@users.noreply.github.com> Date: Sun, 22 Feb 2026 09:19:36 +0100 Subject: [PATCH] Fix comments and variable initialization in authentik.sh --- ct/authentik.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ct/authentik.sh b/ct/authentik.sh index ee6a8ffb8..d8e7bf08e 100644 --- a/ct/authentik.sh +++ b/ct/authentik.sh @@ -1,18 +1,18 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/thieneret/ProxmoxVED/feat/authentik/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) # Copyright (c) 2021-2026 community-scripts ORG # Author: Thieneret -# License: MIT | https://github.com/thieneret/ProxmoxVED/raw/main/LICENSE +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE # Source: https://github.com/goauthentik/authentik APP="authentik" -var_tags="auth" -var_cpu="4" -var_ram="4096" -var_disk="10" -var_os="debian" -var_version="13" -var_unprivileged="1" +var_tags="${var_tags:-auth}" +var_cpu="${var_cpu:-4}" +var_ram="${var_ram:-4096}" +var_disk="${var_disk:-10}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_unprivileged="${var_unprivileged:-1}" header_info "$APP" variables @@ -28,7 +28,7 @@ function update_script() { NODE_VERSION="24" if [[ ! -d /opt/authentik ]]; then - msg_error "No ${APP} Installation Found!" + msg_error "No authentik Installation Found!" exit fi