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) }')
while true; do
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 \
"2" "Nextcloud Credentials" OFF \
"3" "Renew selfsigned Certificate" OFF \
"1" "Update Nextcloud to $RELEASE" OFF \
"2" "Nextcloud Database Credentials" ON \
"3" "Renew Self-signed Certificate" OFF \
3>&1 1>&2 2>&3)
exit_status=$?
if [ $exit_status == 1 ]; then
@ -96,8 +96,7 @@ build_container
description
msg_ok "Completed Successfully!\n"
echo -e "To get the randomized credentials for Setup-Wizard,
run the script again inside the LXC Container. \n
echo -e "To retrieve the database credentials required for the Setup-Wizard, execute the same script within the LXC Console.\n
${APP} should be reachable by going to the following URL.
${BL}https://${IP}${CL} \n"