Update install.sh

This commit is contained in:
Mr Chen 2024-06-11 12:41:18 +08:00
parent ade2809a72
commit d9d66fa6b4
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ if [ "${action}" == "install" ] && [ -d ${serverPath}/php-apt/${type} ];then
if [ ! -f /usr/local/bin/composer ];then
cd /tmp
curl -sS https://getcomposer.org/installer | /usr/bin/php${type:0:1}.${type:1:2}
curl -sS https://getcomposer.org/installer | /usr/bin/php${apt_ver}
mv composer.phar /usr/local/bin/composer
fi