mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
php: only overwrite php.ini if not present in target_skeleton
Allow platforms to provide a custom php.ini in their target_skeleton.
This commit is contained in:
parent
7685dd41e1
commit
ee0bbc04ff
@ -169,7 +169,8 @@ $(PHP_HOOK_POST_INSTALL):
|
|||||||
rm -rf $(TARGET_DIR)/usr/lib/php
|
rm -rf $(TARGET_DIR)/usr/lib/php
|
||||||
rm -f $(TARGET_DIR)/usr/bin/phpize
|
rm -f $(TARGET_DIR)/usr/bin/phpize
|
||||||
rm -f $(TARGET_DIR)/usr/bin/php-config
|
rm -f $(TARGET_DIR)/usr/bin/php-config
|
||||||
$(INSTALL) -m 0755 $(BR2_PACKAGE_PHP_CONFIG) $(TARGET_DIR)/etc/php.ini
|
if [ ! -f $(TARGET_DIR)/etc/php.ini ]; then \
|
||||||
|
$(INSTALL) -m 0755 $(BR2_PACKAGE_PHP_CONFIG) $(TARGET_DIR)/etc/php.ini; fi
|
||||||
|
|
||||||
$(PHP_TARGET_UNINSTALL):
|
$(PHP_TARGET_UNINSTALL):
|
||||||
$(call MESSAGE,"Uninstalling")
|
$(call MESSAGE,"Uninstalling")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user