File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,13 @@ timestamp() {
3232}
3333
3434# Install needed software
35- apt-get install -y $SOFTWARE
35+ echo " Update system repository..."
36+ apt-get -qq update
37+ echo " Installing dependencies for compilation..."
38+ apt-get -qq install -y $SOFTWARE
3639
3740# Fix for Debian PHP Envroiment
38- if [ ! -f /usr/local/include/curl ]; then
41+ if [ ! -e /usr/local/include/curl ]; then
3942 ln -s /usr/include/x86_64-linux-gnu/curl /usr/local/include/curl
4043fi
4144
@@ -56,9 +59,18 @@ for arg; do
5659 --hestia)
5760 HESTIA_B=' true'
5861 ;;
62+ * )
63+ NOARGUMENT=' true'
64+ ;;
5965 esac
6066done
6167
68+ if [[ $# -eq 0 ]] ; then
69+ echo " !!! Please run with argument --all, --hestia, --nginx or --php !!!"
70+ exit 1
71+ fi
72+
73+
6274# ################################################################################
6375#
6476# Building hestia-nginx
You can’t perform that action at this time.
0 commit comments