Merge branch 'fix-php-2' into 'master'

Fix php symlink part II

See merge request redox-os/cookbook!645
This commit is contained in:
Jeremy Soller 2025-09-28 10:57:57 -06:00
commit 4974708338

View File

@ -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
unlink ${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/
"""