From 04360b978bc473495529edc8e4e0451fae0d72dd Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Tue, 13 Aug 2019 00:55:14 +0200 Subject: [PATCH] Update vesta_compile.sh --- src/deb/vesta_compile.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/deb/vesta_compile.sh b/src/deb/vesta_compile.sh index b3067a79..a30dacd5 100644 --- a/src/deb/vesta_compile.sh +++ b/src/deb/vesta_compile.sh @@ -135,6 +135,12 @@ fi if [ "$VESTA_B" = true ]; then VESTAGIT_B='true' fi +if [ "$PHP_B" = true ]; then + VESTAGIT_B='true' +fi +if [ "$NGINX_B" = true ]; then + VESTAGIT_B='true' +fi ################################################################################# # @@ -361,6 +367,7 @@ if [ "$PHP_B" = true ]; then # Copying control, postinst and postrm files cp -rf /root/vesta/src/deb/php/* $BUILD_DIR/vesta-php_$VESTA_V/DEBIAN rm $BUILD_DIR/vesta-php_$VESTA_V/DEBIAN/php-fpm.conf + rm $BUILD_DIR/vesta-php_$VESTA_V/DEBIAN/php.ini # Set version sed -i "/Version: /c\Version: $VESTA_VER" $BUILD_DIR/vesta-php_$VESTA_V/DEBIAN/control @@ -379,6 +386,7 @@ if [ "$PHP_B" = true ]; then echo "=== Get php-fpm.conf" cp /root/vesta/src/deb/php/php-fpm.conf $BUILD_DIR/vesta-php_$VESTA_V/usr/local/vesta/php/etc/php-fpm.conf + cp /root/vesta/src/deb/php/php.ini $BUILD_DIR/vesta-php_$VESTA_V/usr/local/vesta/php/lib/php.ini echo "=== copy binary" cp $INSTALL_DIR/php/sbin/php-fpm $BUILD_DIR/vesta-php_$VESTA_V/usr/local/vesta/php/sbin/vesta-php