fix: 解决 PHP 安装部分依赖失败的问题

This commit is contained in:
zhengkunwang223
2023-10-26 11:01:27 +08:00
parent 5a7f4ea31d
commit d48bcd1253
59 changed files with 182 additions and 179 deletions

View File

@@ -20,8 +20,16 @@ if [[ "$RUN_INSTALL" -eq "1" ]]; then
fi
if [[ "$PACKAGE_MANAGER" == "npm" ]]; then
npm run $EXEC_SCRIPT
elif [[ "$PACKAGE_MANAGER" == "yarn" ]]; then
yarn run $EXEC_SCRIPT
if [[ "$CUSTOM_SCRIPT" -eq "1" ]]; then
$EXEC_SCRIPT
else
if [[ "$PACKAGE_MANAGER" == "npm" ]]; then
npm run $EXEC_SCRIPT
elif [[ "$PACKAGE_MANAGER" == "yarn" ]]; then
yarn run $EXEC_SCRIPT
fi
fi