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
|
menu_array[$array_index]=ON
|
||||||
done
|
done
|
||||||
fi
|
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
|
if [ ! -z "$CHOICES" ]; then
|
||||||
declare -a options
|
declare -a options
|
||||||
for CHOICE in $CHOICES; do
|
for CHOICE in $CHOICES; do
|
||||||
|
|
|
@ -27,7 +27,7 @@ cd /opt/kepubify
|
||||||
curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-64bit &>/dev/null
|
curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-64bit &>/dev/null
|
||||||
chmod +x kepubify-linux-64bit
|
chmod +x kepubify-linux-64bit
|
||||||
mkdir -p /opt/calibre-web
|
mkdir -p /opt/calibre-web
|
||||||
wget https://github.com/janeczku/calibre-web/raw/master/library/metadata.db -P /opt/calibre-web
|
$STD wget https://github.com/janeczku/calibre-web/raw/master/library/metadata.db -P /opt/calibre-web
|
||||||
$STD pip install calibreweb
|
$STD pip install calibreweb
|
||||||
msg_ok "Installed calibre-web"
|
msg_ok "Installed calibre-web"
|
||||||
|
|
||||||
|
@ -58,6 +58,6 @@ $STD apt-get autoremove
|
||||||
$STD apt-get autoclean
|
$STD apt-get autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|
||||||
echo -e "Default login for ${APP}:
|
echo -e "Default login for Calibre-web:
|
||||||
user: ${BL}admin${CL} \n
|
user: ${BL}admin${CL} \n
|
||||||
password: ${BL}admin123${CL} \n"
|
password: ${BL}admin123${CL} \n"
|
Loading…
Add table
Add a link
Reference in a new issue