1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00
This commit is contained in:
Éric Gaspar 2023-07-06 20:12:23 +02:00
parent f28f088162
commit d75242fe85
3 changed files with 5 additions and 2 deletions

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
YNH_COMPOSER_VERSION=2.4.2
YNH_COMPOSER_VERSION=2.5.8
#=================================================
# PERSONAL HELPERS

View file

@ -39,6 +39,8 @@ ynh_setup_source --dest_dir="$install_dir"
# Set permissions to app files
chmod -R o-rwx $install_dir
chmod -R 775 $install_dir/storage $install_dir/bootstrap/cache $install_dir/public/uploads
chown -R $app:www-data $install_dir
#=================================================
@ -74,7 +76,7 @@ app_url_domain="https://$domain${path%/}"
ynh_add_config --template=../conf/.env.example --destination=$install_dir/.env
chmod 600 $install_dir/.env
chmod 640 $install_dir/.env
chown $app:$app $install_dir/.env
#=================================================

View file

@ -51,6 +51,7 @@ then
fi
chmod -R o-rwx $install_dir
chmod -R 775 $install_dir/storage $install_dir/bootstrap/cache $install_dir/public/uploads
chown -R $app:www-data $install_dir
#=================================================