From: <abe...@us...> - 2015-05-20 14:54:49
|
Revision: 7076 http://sourceforge.net/p/astlinux/code/7076 Author: abelbeck Date: 2015-05-20 14:54:47 +0000 (Wed, 20 May 2015) Log Message: ----------- script php-timezonedb/makearchive.sh, check that native PHP is installed Modified Paths: -------------- branches/1.0/scripts/php-timezonedb/makearchive.sh Modified: branches/1.0/scripts/php-timezonedb/makearchive.sh =================================================================== --- branches/1.0/scripts/php-timezonedb/makearchive.sh 2015-05-20 02:06:43 UTC (rev 7075) +++ branches/1.0/scripts/php-timezonedb/makearchive.sh 2015-05-20 14:54:47 UTC (rev 7076) @@ -14,6 +14,11 @@ TZDATA="output/target/usr/share/zoneinfo" fi +if [ ! -x /usr/bin/php ]; then + echo "Missing native PHP. PHP must be installed at: /usr/bin/php" + exit 1 +fi + if [ ! -f $TZDATA/.tzversion ]; then echo "File not found: $TZDATA/.tzversion" exit 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |