From 5d53ab262fe10532304501be9772d7ad44a0b18e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 14 Dec 2025 18:19:54 -0600 Subject: [PATCH] update --- defaults.inc | 1 + proxmenu-scripts.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index 0824388..b4e4461 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,7 @@ #!/usr/bin/env bash # TA-Proxmenu - Proxmox Scripts for TA Use +action="$1" FOLDER='/opt/idssys/ta-proxmenu' VERS='0.2-12142025' diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index abb6715..26ad00e 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -70,8 +70,8 @@ MAIN_MENU() { } -if [ ${1-x} ]; then - case $1 in +if [ ${action-x} ]; then + case $action in update) UPDATE;; esac