From 91e944ada33004214d9b72bf964695a032b78e34 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 26 Sep 2020 18:58:56 +0800 Subject: [PATCH] Update install.sh --- plugins/php/versions/52/install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/php/versions/52/install.sh b/plugins/php/versions/52/install.sh index 5a565245e..eb50b4d16 100755 --- a/plugins/php/versions/52/install.sh +++ b/plugins/php/versions/52/install.sh @@ -105,6 +105,12 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then && make && make install && make clean fi +if [ "$?" != "0" ];then + echo "install fail!!" + exit 2 +fi + + if [ -f $serverPath/php/${PHP_VER}/bin/php.dSYM ];then mv $serverPath/php/${PHP_VER}/bin/php.dSYM $serverPath/php/${PHP_VER}/bin/php