mirror of https://github.com/tteck/Proxmox.git
Merge pull request #17 from nicedevil007/Alpine-Nextcloud
Update alpine-nextcloud.sh
This commit is contained in:
commit
fbe4bfc2a8
|
@ -61,11 +61,10 @@ function update_script() {
|
||||||
fi
|
fi
|
||||||
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=$(
|
CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 2 \
|
||||||
whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --menu "Select option" 11 58 2 \
|
|
||||||
"1" "Update Nextcloud to $RELEASE" ON \
|
"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=$?
|
exit_status=$?
|
||||||
if [ $exit_status == 1 ]; then
|
if [ $exit_status == 1 ]; then
|
||||||
clear
|
clear
|
||||||
|
@ -93,6 +92,7 @@ description
|
||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "To get the randomized Credentials for initial setup,
|
echo -e "To get the randomized Credentials for initial setup,
|
||||||
run the script again inside the LXC Container \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"
|
||||||
|
|
Loading…
Reference in New Issue