1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

check if path empty

This commit is contained in:
src386 2015-08-31 15:16:42 +02:00
parent 9b77ab02c5
commit 584e3593e6
3 changed files with 8 additions and 2 deletions

View file

@ -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

1
TODO
View file

@ -1,2 +1 @@
- Check if path is not empty beforce install
- Set timezone in php5-fpm pool

View file

@ -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