mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 22:04:19 +08:00
Merge branch 'fix-php-2' into 'master'
Fix php symlink part II See merge request redox-os/cookbook!645
This commit is contained in:
commit
4974708338
@ -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/
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user