From d2b9837df566ef81abea6f2d57a339a219de4a3c Mon Sep 17 00:00:00 2001 From: dpeca Date: Sat, 17 Aug 2019 01:20:19 +0200 Subject: [PATCH] Update vesta_compile.sh --- src/deb/vesta_compile.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/deb/vesta_compile.sh b/src/deb/vesta_compile.sh index a30dacd5..55a5f00c 100644 --- a/src/deb/vesta_compile.sh +++ b/src/deb/vesta_compile.sh @@ -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