mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Update vesta_compile.sh
This commit is contained in:
parent
ab1badd35e
commit
d2b9837df5
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue