mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Update installer version
This commit is contained in:
parent
8e148e683b
commit
a55c1cbb1d
@ -31,7 +31,7 @@
|
||||
# Set defaults
|
||||
repo="billz/raspap-webgui"
|
||||
branch="master"
|
||||
VERSION=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
|
||||
RASPAP_VERSION=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
|
||||
assume_yes=0
|
||||
ovpn_option=1
|
||||
|
||||
@ -75,7 +75,7 @@ while :; do
|
||||
exit 1
|
||||
;;
|
||||
-v|--version)
|
||||
printf "RaspAP v${VERSION} - simple AP setup and wifi mangement for the RaspberryPi\n"
|
||||
printf "RaspAP v${RASPAP_VERSION} - simple AP setup and wifi mangement for the RaspberryPi\n"
|
||||
exit 1
|
||||
;;
|
||||
-*|--*)
|
||||
|
Loading…
Reference in New Issue
Block a user