From ad86bbb88cfb71aa095516e1f3d324e9f99869ea Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sun, 28 Sep 2025 23:53:47 +0700 Subject: [PATCH] Fix php symlink part II --- recipes/dev/php84/recipe.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/dev/php84/recipe.toml b/recipes/dev/php84/recipe.toml index f7fc503b..1e109c25 100644 --- a/recipes/dev/php84/recipe.toml +++ b/recipes/dev/php84/recipe.toml @@ -74,7 +74,7 @@ mv ${COOKBOOK_STAGE}/usr/sbin/* ${COOKBOOK_STAGE}/usr/bin/ for bin in "php-cgi" "php-config" "php" "phpdbg" "phpize" "php-fpm"; do ln -s "$bin$SUFFIX" ${COOKBOOK_STAGE}/usr/bin/$bin done -rm ${COOKBOOK_STAGE}/usr/bin/phar$SUFFIX -mkdir -p ${COOKBOOK_STAGE}/etc/php/$SUFFIX/conf.d +# will not exist on bash but exist on other shell +rm -f ${COOKBOOK_STAGE}/usr/bin/phar$SUFFIX cp ${COOKBOOK_SOURCE}/php.ini* ${COOKBOOK_STAGE}/etc/php/$SUFFIX/ """