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