fix #7 apt-get update before prerequisite check
This commit is contained in:
parent
6f9c64416b
commit
24302c39d4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user