Update alpine-nextcloud.sh

tweaks
This commit is contained in:
tteckster 2023-09-28 13:57:47 -04:00 committed by GitHub
parent 497b6bd9a8
commit a5a71ae789
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,9 +61,9 @@ function update_script() {
RELEASE=$(curl -s https://api.github.com/repos/nextcloud/server/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') RELEASE=$(curl -s https://api.github.com/repos/nextcloud/server/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
while true; do while true; do
CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 3 \ CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 3 \
"1" "Update Nextcloud to $RELEASE" ON \ "1" "Update Nextcloud to $RELEASE" OFF \
"2" "Nextcloud Credentials" OFF \ "2" "Nextcloud Database Credentials" ON \
"3" "Renew selfsigned Certificate" OFF \ "3" "Renew Self-signed Certificate" OFF \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
exit_status=$? exit_status=$?
if [ $exit_status == 1 ]; then if [ $exit_status == 1 ]; then
@ -96,8 +96,7 @@ build_container
description description
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
echo -e "To get the randomized credentials for Setup-Wizard, echo -e "To retrieve the database credentials required for the Setup-Wizard, execute the same script within the LXC Console.\n
run the script again inside the LXC Container. \n
${APP} should be reachable by going to the following URL. ${APP} should be reachable by going to the following URL.
${BL}https://${IP}${CL} \n" ${BL}https://${IP}${CL} \n"