diff --git a/README.md b/README.md index 16b0b70..4880b41 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Current Movim version : 0.9 git2015-08-31 - Movim systemd service now has a PID and a syslog identifier. - Remove proxy_read_timeout and proxy_send_timeout in vhost configuration (default 60s is enough) - Movim sysvinit script now uses syslog. +- Installation script now checks if path is empty. 0.8b 2015-08-24 - Added language selection : ar, de, es, it, ja, nl, ru diff --git a/TODO b/TODO index 5891807..b39eec0 100644 --- a/TODO +++ b/TODO @@ -1,2 +1 @@ -- Check if path is not empty beforce install - Set timezone in php5-fpm pool diff --git a/scripts/install b/scripts/install index 371a7d7..8239164 100644 --- a/scripts/install +++ b/scripts/install @@ -29,7 +29,13 @@ fi # Check password not empty if [[ -z "$password" ]]; then -printf "Error empty admin password, aborting" +printf "Error empty admin password, installation aborted" + exit 1 +fi + +# Check path not empty +if [[ -z "$path" ]]; then +printf "Error path is empty, installation aborted" exit 1 fi