Minor update to version_msg

This commit is contained in:
Bill Zimmerman 2019-06-29 09:51:36 +02:00 committed by GitHub
parent 38ac3f904c
commit acd58ce557
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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