1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dato_ynh.git synced 2024-09-03 18:16:33 +02:00

Make sure not to have an error if config folder already exist.

This commit is contained in:
squeak 2021-03-11 09:54:53 +01:00
parent 3e43328c4c
commit d0300fa740

View file

@ -16,8 +16,8 @@ nodejs_version=12
dato_setup_config_files() {
# create config directory
mkdir "$final_path/config/"
# create config directory (if it doesn't exist yet)
[ -d "$final_path/config/" ] || mkdir "$final_path/config/"
# setup public dato config
ynh_add_config --template="../conf/public.js" --destination="$final_path/config/public.js"