mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Var rename, prevent conflict w/ lsb_release
This commit is contained in:
parent
6e713e6857
commit
40e558b720
1 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ repo="billz/raspap-webgui"
|
|||
branch="master"
|
||||
assume_yes=0
|
||||
ovpn_option=1
|
||||
RASPAP_VERSION=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
|
||||
RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
|
||||
|
||||
# Define usage notes
|
||||
usage=$(cat << EOF
|
||||
|
@ -75,7 +75,7 @@ while :; do
|
|||
exit 1
|
||||
;;
|
||||
-v|--version)
|
||||
printf "RaspAP v${RASPAP_VERSION} - simple AP setup and wifi mangement for the RaspberryPi\n"
|
||||
printf "RaspAP v${RASPAP_LATEST} - simple AP setup and wifi mangement for the RaspberryPi\n"
|
||||
exit 1
|
||||
;;
|
||||
-*|--*)
|
||||
|
@ -105,7 +105,7 @@ function display_welcome() {
|
|||
echo -e " 88 88 88. .88 88 88. .88 88 88 88"
|
||||
echo -e " dP dP 88888P8 88888P 88Y888P 88 88 dP"
|
||||
echo -e " 88"
|
||||
echo -e " dP version ${RASPAP_VERSION}"
|
||||
echo -e " dP version ${RASPAP_LATEST}"
|
||||
echo -e "${green}"
|
||||
echo -e "The Quick Installer will guide you through a few easy steps\n\n"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue