|
|
@@ -366,11 +366,16 @@ if [ "$PHP_B" = true ] ; then
|
|
|
if [ -z "$use_src_folder" ]; then
|
|
|
download_file $GIT_REP/php/control
|
|
|
download_file $GIT_REP/php/copyright
|
|
|
+ download_file $GIT_REP/php/postinst
|
|
|
else
|
|
|
cp $BUILD_DIR/hestiacp-$branch/src/deb/php/control ./
|
|
|
cp $BUILD_DIR/hestiacp-$branch/src/deb/php/copyright ./
|
|
|
+ cp $BUILD_DIR/hestiacp-$branch/src/deb/php/postinst ./
|
|
|
fi
|
|
|
|
|
|
+ # Set permission
|
|
|
+ chmod +x postinst
|
|
|
+
|
|
|
# Move php directory
|
|
|
cd ..
|
|
|
mv ${BUILD_DIR}/usr/local/hestia/php usr/local/hestia/
|
|
|
@@ -451,7 +456,7 @@ if [ "$HESTIA_B" = true ]; then
|
|
|
|
|
|
|
|
|
# Set permission
|
|
|
- chmod +x postinst
|
|
|
+ chmod 755 postinst
|
|
|
|
|
|
# Move needed directories
|
|
|
cd $BUILD_DIR/hestiacp-$branch
|