File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -501,10 +501,6 @@ if [ "$PHP_B" = true ] ; then
501501 [ " $HESTIA_DEBUG " ] && echo DEBUG: cp -rf " $SRC_DIR /" $BUILD_DIR /hestiacp-$branch_dash
502502 cp -rf " $SRC_DIR /" $BUILD_DIR /hestiacp-$branch_dash
503503 fi
504-
505- # Set permission
506- # chmod +x postinst
507-
508504 # Move php directory
509505 [ " $HESTIA_DEBUG " ] && echo DEBUG: mkdir -p $BUILD_DIR_HESTIAPHP /usr/local/hestia
510506 mkdir -p $BUILD_DIR_HESTIAPHP /usr/local/hestia
@@ -533,7 +529,8 @@ if [ "$PHP_B" = true ] ; then
533529 sed -i " s/amd64/${BUILD_ARCH} /g" " $BUILD_DIR_HESTIAPHP /DEBIAN/control"
534530 fi
535531 get_branch_file ' src/deb/php/copyright' " $BUILD_DIR_HESTIAPHP /DEBIAN/copyright"
536-
532+ get_branch_file ' src/deb/php/postinst' " $BUILD_DIR_HESTIAPHP /DEBIAN/postinst"
533+ chmod +x $BUILD_DIR_HESTIAPHP /DEBIAN/postinst
537534 # Get custom config
538535 get_branch_file ' src/deb/php/php-fpm.conf' " ${BUILD_DIR_HESTIAPHP} /usr/local/hestia/php/etc/php-fpm.conf"
539536 get_branch_file ' src/deb/php/php.ini' " ${BUILD_DIR_HESTIAPHP} /usr/local/hestia/php/lib/php.ini"
You can’t perform that action at this time.
0 commit comments