mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Update web-vault-update.sh
This commit is contained in:
parent
7bc51b49ae
commit
f902657e28
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
clear
|
||||||
VWRELEASE=$(curl -s https://api.github.com/repos/dani-garcia/bw_web_builds/releases/latest \
|
VWRELEASE=$(curl -s https://api.github.com/repos/dani-garcia/bw_web_builds/releases/latest \
|
||||||
| grep "tag_name" \
|
| grep "tag_name" \
|
||||||
| awk '{print substr($2, 2, length($2)-3) }') \
|
| awk '{print substr($2, 2, length($2)-3) }') \
|
||||||
|
@ -19,7 +20,6 @@ echo -e "${BL}
|
||||||
${VWRELEASE} UPDATE
|
${VWRELEASE} UPDATE
|
||||||
${CL}"
|
${CL}"
|
||||||
}
|
}
|
||||||
clear
|
|
||||||
update_info
|
update_info
|
||||||
while true; do
|
while true; do
|
||||||
read -p "This will Update Web-Vault to $VWRELEASE. Proceed(y/n)?" yn
|
read -p "This will Update Web-Vault to $VWRELEASE. Proceed(y/n)?" yn
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue