mirror of
https://github.com/YunoHost-Apps/couchpotato_ynh.git
synced 2024-09-03 18:16:22 +02:00
missing datadir set
This commit is contained in:
parent
344ba83e8b
commit
ba10cd1b11
1 changed files with 2 additions and 0 deletions
|
@ -111,6 +111,8 @@ ynh_add_nginx_config
|
|||
ynh_script_progression --message="Creating a data directory..."
|
||||
|
||||
datadir=/home/yunohost.app/$app
|
||||
ynh_app_setting_set --app=$app --key=datadir --value=$datadir
|
||||
|
||||
mkdir -p $datadir
|
||||
|
||||
chmod 750 "$datadir"
|
||||
|
|
Loading…
Add table
Reference in a new issue