diff --git a/install.sh b/install.sh index 04e5909..e5809fe 100755 --- a/install.sh +++ b/install.sh @@ -19,8 +19,9 @@ DOMAIN_NAME=${DOMAIN_NAME:-localhost} PORT=${PORT:-9872} ### PREREQUISITES ### +sudo apt-get update -if ! command -v nginx >/dev/null 2>&1 +if ! command -v nginx >/dev/null 2>&1 && [ "$1" != "dev" ] then sudo apt-get install nginx -y fi