Merge pull request #17 from nicedevil007/Alpine-Nextcloud

Update alpine-nextcloud.sh
This commit is contained in:
nicedevil007 2023-09-28 17:03:06 +02:00 committed by GitHub
commit fbe4bfc2a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -61,11 +61,10 @@ function update_script() {
fi
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" --menu "Select option" 11 58 2 \
CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 2 \
"1" "Update Nextcloud to $RELEASE" ON \
"2" "Nextcloud Credentials" OFF 3>&1 1>&2 2>&3
)
"2" "Nextcloud Credentials" OFF \
3>&1 1>&2 2>&3)
exit_status=$?
if [ $exit_status == 1 ]; then
clear
@ -93,6 +92,7 @@ description
msg_ok "Completed Successfully!\n"
echo -e "To get the randomized Credentials for initial setup,
run the script again inside the LXC Container \n
${APP} should be reachable by going to the following URL.
run the script again inside the LXC Container \n
${APP} should be reachable by going to the following URL.
${BL}https://${IP}${CL} \n"