Update vesta_compile.sh

This commit is contained in:
dpeca 2019-08-17 01:20:19 +02:00 committed by GitHub
commit d2b9837df5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ ZLIB='https://www.zlib.net/zlib-'$ZLIB_V'.tar.gz'
PHP='http://de2.php.net/distributions/php-'$PHP_V'.tar.gz'
# Set package dependencies for compiling
SOFTWARE='build-essential libxml2-dev libz-dev libcurl4-gnutls-dev unzip openssl libssl-dev pkg-config reprepro dpkg-sig'
SOFTWARE='build-essential libxml2-dev libz-dev libcurl4-gnutls-dev unzip openssl libssl-dev pkg-config reprepro dpkg-sig git'
function press_enter {
if [ $wait_to_press_enter -eq 1 ]; then
@ -142,6 +142,10 @@ if [ "$NGINX_B" = true ]; then
VESTAGIT_B='true'
fi
if [ ! -d "$BUILD_DIR" ]; then
mkdir -p $BUILD_DIR
fi
#################################################################################
#
# Get latest vesta from git
@ -303,6 +307,8 @@ if [ "$NGINX_B" = true ]; then
# fi
make_deb_package_and_add_to_repo "vesta-nginx"
echo "=== All done"
fi
#################################################################################
@ -439,4 +445,6 @@ if [ "$VESTA_B" = true ]; then
chmod +x *
make_deb_package_and_add_to_repo "vesta"
echo "=== All done"
fi