From d9d66fa6b48a987eaa40d3adc754a15843785e81 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 11 Jun 2024 12:41:18 +0800 Subject: [PATCH] Update install.sh --- plugins/php-apt/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/php-apt/install.sh b/plugins/php-apt/install.sh index c975b2c18..79285a4a9 100755 --- a/plugins/php-apt/install.sh +++ b/plugins/php-apt/install.sh @@ -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