1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-23 02:04:42 +02:00

Update calibre-web.sh

fixes https://github.com/tteck/Proxmox/issues/3576
This commit is contained in:
tteckster 2024-08-23 11:39:31 -04:00 committed by GitHub
parent 561419f1a2
commit bb0a39e3c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,7 +81,7 @@ function update_script() {
line=0 line=0
elif [ $i == "gmail" ]; then elif [ $i == "gmail" ]; then
line=1 line=1
elif [ $i == "goodreads" ]; then elif [ $i == "goodreads" ]; then
line=2 line=2
elif [ $i == "ldap" ]; then elif [ $i == "ldap" ]; then
line=3 line=3
@ -102,8 +102,8 @@ function update_script() {
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) 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 &
SPINNER_PID=$! SPINNER_PID=$!
options=()
if [ ! -z "$CHOICES" ]; then if [ ! -z "$CHOICES" ]; then
declare -a options
for CHOICE in $CHOICES; do for CHOICE in $CHOICES; do
case "$CHOICE" in case "$CHOICE" in
"1") "1")