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
elif [ $i == "gmail" ]; then
line=1
elif [ $i == "goodreads" ]; then
elif [ $i == "goodreads" ]; then
line=2
elif [ $i == "ldap" ]; then
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)
spinner &
SPINNER_PID=$!
options=()
if [ ! -z "$CHOICES" ]; then
declare -a options
for CHOICE in $CHOICES; do
case "$CHOICE" in
"1")