mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Disable spinner while selecting options; Silence wget command
This commit is contained in:
parent
493bc0d4a4
commit
0a88ca51c2
2 changed files with 6 additions and 3 deletions
|
@ -102,7 +102,10 @@ function update_script() {
|
|||
menu_array[$array_index]=ON
|
||||
done
|
||||
fi
|
||||
CHOICES=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "CALIBRE-WEB OPTIONS" --separate-output --checklist "Choose Additional Options" 15 125 8 "${array[@]}" 3>&1 1>&2 2>&3)
|
||||
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
|
||||
CHOICES=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "CALIBRE-WEB OPTIONS" --separate-output --checklist "Choose Additional Options" 15 125 8 "${menu_array[@]}" 3>&1 1>&2 2>&3)
|
||||
spinner &
|
||||
SPINNER_PID=$!
|
||||
if [ ! -z "$CHOICES" ]; then
|
||||
declare -a options
|
||||
for CHOICE in $CHOICES; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue