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

fix datadir

This commit is contained in:
yalh76 2022-01-30 14:38:30 +01:00
parent 28ac94c05a
commit d9b20e5c1f

View file

@ -62,9 +62,9 @@ systemctl disable $app-celery --quiet
ynh_script_progression --message="Ensuring downward compatibility..." --time --weight=1 ynh_script_progression --message="Ensuring downward compatibility..." --time --weight=1
if [ -z "$datadir" ]; then if [ -z "$datadir" ]; then
datadir=$(ynh_app_setting_get --app=$app --key=datadir) datadir=$(ynh_app_setting_get --app=$app --key=data_path)
ynh_app_setting_set --app=$app --key=datadir --value=$datadir ynh_app_setting_set --app=$app --key=datadir --value=$datadir
ynh_app_setting_delete --app=$app --key=datadir ynh_app_setting_delete --app=$app --key=data_path
ynh_app_setting_delete --app=$app --key=db_pwd ynh_app_setting_delete --app=$app --key=db_pwd
ynh_app_setting_delete --app=$app --key=admin_email ynh_app_setting_delete --app=$app --key=admin_email
fi fi