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

missing datadir

This commit is contained in:
yalh76 2022-06-20 00:39:35 +02:00
parent a113b03218
commit 11a81f58e5

View file

@ -74,6 +74,12 @@ else
mpd_state="true"
fi
# If final_path doesn't exist, create it
if [ -z "$datadir" ]; then
datadir=/home/yunohost.app/$app
ynh_app_setting_set --app=$app --key=datadir --value=$datadir
fi
#=================================================
# CREATE DEDICATED USER
#=================================================