1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/roundcube_ynh.git synced 2024-09-03 20:16:28 +02:00

Ensure the enigma directory exists befor chowning it

This commit is contained in:
Brian Douglass 2019-07-16 00:24:07 -04:00
parent be6fea4e1d
commit 0239f79490
No known key found for this signature in database
GPG key ID: 985EB87AFF442C67
3 changed files with 3 additions and 0 deletions

View file

@ -211,6 +211,7 @@ ynh_store_file_checksum --file="$rc_conf"
# Set permissions to app files
chown -R root: "$final_path"
mkdir -p "$final_path/plugins/enigma/home"
chown -R $app: "$final_path/"{temp,logs,plugins/enigma/home}
#=================================================

View file

@ -67,6 +67,7 @@ ynh_system_user_create --username=$app
# Restore permissions on app files
chown -R root: "$final_path"
mkdir -p "$final_path/plugins/enigma/home"
chown -R $app: "$final_path/"{temp,logs,plugins/enigma/home}
#=================================================

View file

@ -262,6 +262,7 @@ fi
# Set permissions to app files
chown -R root: "$final_path"
mkdir -p "$final_path/plugins/enigma/home"
chown -R $app: "$final_path/"{temp,logs,plugins/enigma/home}
#=================================================