1
0
Fork 0
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:
Clément 2020-06-08 13:14:02 +02:00 committed by GitHub
commit 2933b2a5a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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