fix which php bug

This commit is contained in:
Mathew Fleisch 2017-03-24 16:14:57 -07:00
parent ac1c6020f9
commit 2c21fa6248

View File

@ -29,7 +29,7 @@ wget -q --tries=15 --timeout=5 --spider http://example.com
[[ "$?" -ne 0 ]] && { LED R; echo "Could not connect to the internet" >> $log_file; exit 1; }
LED R G
[[ ! `which phpp` ]] && { LED R; echo "Php not installed... install it!" >> $log_file; apt-get install -y php5-cli &>> $log_file; }
[[ ! `which php` ]] && { LED R G 200; echo "Php not installed... install it!" >> $log_file; apt-get install -y php5-cli &>> $log_file; }
LED G