mirror of
https://github.com/YunoHost-Apps/gotify_ynh.git
synced 2024-09-03 20:36:26 +02:00
Merge pull request #16 from YunoHost-Apps/testing
fix data dir creation
This commit is contained in:
commit
2933b2a5a0
2 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@ ynh_store_file_checksum "$final_path/config.yml"
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R root:$app $final_path
|
chown -R root:$app $final_path
|
||||||
mkdir $final_path/data
|
mkdir -p $final_path/data
|
||||||
chown -R $app: $final_path/data/
|
chown -R $app: $final_path/data/
|
||||||
chmod o-rwx $final_path/ -R
|
chmod o-rwx $final_path/ -R
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ ynh_system_user_create $app
|
||||||
|
|
||||||
# Restore permissions on app files
|
# Restore permissions on app files
|
||||||
chown -R root:$app $final_path
|
chown -R root:$app $final_path
|
||||||
mkdir $final_path/data
|
mkdir -p $final_path/data
|
||||||
chown -R $app: $final_path/data/
|
chown -R $app: $final_path/data/
|
||||||
chmod o-rwx $final_path/ -R
|
chmod o-rwx $final_path/ -R
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue