From 167f7d1c989bc7500dd26143318862641e28da0f Mon Sep 17 00:00:00 2001
From: Xabi Spacebiker <xabierarrabal@airean.info>
Date: Thu, 5 Oct 2017 01:04:02 +0200
Subject: [PATCH] Update install

---
 install | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/install b/install
index 8a3311ca1..5fa474d6f 100755
--- a/install
+++ b/install
@@ -967,7 +967,7 @@ else
 fi
 
 # Enable Apache modules
-if $is_ubuntu_xenial; then
+if $is_ubuntu_xenial || $is_debian_stretch; then
     loudCmd "a2enmod rewrite php7.0"
 elif $is_centos_dist; then
     verbose "TODO: enable Apache modules mod_rewrite and mod_php manually"
@@ -1120,3 +1120,4 @@ echo    " To get started with Airtime, visit ${IP}            "
 echo    " or, if you've set up your own web configuration,    "
 echo    " the Airtime webroot on your webserver               "
 echo    "-----------------------------------------------------"
+