mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Minor update to version_msg
This commit is contained in:
parent
38ac3f904c
commit
acd58ce557
@ -9,19 +9,19 @@ raspap_user="www-data"
|
||||
webroot_dir="/var/www/html"
|
||||
version=`sed 's/\..*//' /etc/debian_version`
|
||||
|
||||
# Determine version, set default home location for lighttpd and
|
||||
# Determine Raspbian version, set default home location for lighttpd and
|
||||
# php package to install
|
||||
if [ $version -eq 10 ]; then
|
||||
version_msg="Raspian 10.0 (Buster)"
|
||||
version_msg="Raspbian 10.0 (Buster)"
|
||||
php_package="php7.1-cgi"
|
||||
elif [ $version -eq 9 ]; then
|
||||
version_msg="Raspian 9.0 (Stretch)"
|
||||
version_msg="Raspbian 9.0 (Stretch)"
|
||||
php_package="php7.0-cgi"
|
||||
elif [ $version -eq 8 ]; then
|
||||
version_msg="Raspian 8.0 (Jessie)"
|
||||
version_msg="Raspbian 8.0 (Jessie)"
|
||||
php_package="php5-cgi"
|
||||
else
|
||||
version_msg="Raspian earlier than 8.0 (Wheezy)"
|
||||
version_msg="Raspbian earlier than 8.0 (Wheezy)"
|
||||
webroot_dir="/var/www"
|
||||
php_package="php5-cgi"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user