fix data dir

This commit is contained in:
Hadrien 2021-11-02 01:09:31 +03:00
parent 6bdc20d3ed
commit 2cec5a8e4e

View file

@ -228,7 +228,7 @@ ynh_script_progression --message="Creating a data directory..." --time --weight=
### - Remove the section "RESTORE THE DATA DIRECTORY" in the restore script
### - As well as the section "REMOVE DATA DIR" in the remove script
datadir=/home/yunohost.app/$app
datadir=/home/yunohost.app/$app/data
ynh_app_setting_set --app=$app --key=datadir --value=$datadir
mkdir -p $datadir