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:
parent
28ac94c05a
commit
d9b20e5c1f
1 changed files with 2 additions and 2 deletions
|
@ -62,9 +62,9 @@ systemctl disable $app-celery --quiet
|
|||
ynh_script_progression --message="Ensuring downward compatibility..." --time --weight=1
|
||||
|
||||
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_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=admin_email
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue