1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Fix 'else' clause

This commit is contained in:
Joe Haig 2017-01-27 09:31:26 +00:00
parent bfb635636b
commit cc96885ec9

View File

@ -6,7 +6,7 @@ version=`sed 's/\..*//' /etc/debian_version`
if [ $version -ge 8 ]; then if [ $version -ge 8 ]; then
echo "Raspian verison is 8.0 or later" echo "Raspian verison is 8.0 or later"
webroot_dir="/var/www/html" webroot_dir="/var/www/html"
elif; then else
echo "Raspian version is earlier than 8.0" echo "Raspian version is earlier than 8.0"
webroot_dir="/var/www" webroot_dir="/var/www"
fi fi