Update install.sh

This commit is contained in:
midoks 2022-08-16 17:29:10 +08:00
parent 433c9ab5ea
commit 62b5d812e2
1 changed files with 5 additions and 1 deletions

View File

@ -39,7 +39,11 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then
mv $sourcePath/php/php-${version} $sourcePath/php/php${PHP_VER}
fi
if [ ! -d $sourcePath/php/php${PHP_VER} ];then
rm -rf $sourcePath/php/php-${version}.tar.xz
echo "reinstall php${version}"
exit 1
fi
cd $sourcePath/php/php${PHP_VER}