mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
cleaning
This commit is contained in:
parent
f28f088162
commit
d75242fe85
3 changed files with 5 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
YNH_COMPOSER_VERSION=2.4.2
|
YNH_COMPOSER_VERSION=2.5.8
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
|
|
@ -39,6 +39,8 @@ ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chmod -R o-rwx $install_dir
|
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
|
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
|
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
|
chown $app:$app $install_dir/.env
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -51,6 +51,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod -R o-rwx $install_dir
|
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
|
chown -R $app:www-data $install_dir
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue