From 388b4ef85bd1538be400ba2686c83655bc71b762 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 7 Sep 2026 15:38:57 +0200 Subject: [PATCH] Update onetimesecret.sh for variable and output changes Uncomment var_arm64 variable and clean up echo statements. --- ct/onetimesecret.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ct/onetimesecret.sh b/ct/onetimesecret.sh index 3e2084980..fc633383b 100644 --- a/ct/onetimesecret.sh +++ b/ct/onetimesecret.sh @@ -14,7 +14,7 @@ var_ram="${var_ram:-4096}" var_disk="${var_disk:-10}" var_os="${var_os:-debian}" var_version="${var_version:-13}" -#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified +var_arm64="${var_arm64:-no}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -50,9 +50,8 @@ function update_script() { msg_ok "Stopped Service" create_backup /opt/onetimesecret/.env - + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "onetimesecret" "onetimesecret/onetimesecret" "tarball" - RUBY_VERSION=$(tr -d ' \n' /dev/null) RUBY_VERSION="${RUBY_VERSION:-3.4.10}" setup_ruby @@ -100,5 +99,3 @@ msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW}Access it using the following URL:${CL}" echo -e "${GATEWAY}${BGN}${DISPLAY_SCHEME}://${DISPLAY_HOST}${CL}" -echo -e "${INFO}${YW} Configure hostname, TLS, and SMTP settings in:${CL}" -echo -e "${TAB}${BGN}/opt/onetimesecret/.env${CL}"