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:
ericgaspar 2021-07-19 14:39:49 +02:00
parent 8b3ddfd124
commit 87180103db
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 8 deletions

View file

@ -78,9 +78,6 @@ ynh_setup_source --dest_dir="$final_path"
chmod 755 $final_path chmod 755 $final_path
chmod -R o-rwx $final_path chmod -R o-rwx $final_path
chown -R $app:www-data $final_path chown -R $app:www-data $final_path
chmod 775 $final_path/storage
chmod 775 $final_path/bootstrap/cache
chmod 775 $final_path/public/uploads
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
@ -105,7 +102,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
ynh_script_progression --message="Installing BookStack with Composer..." --weight=5 ynh_script_progression --message="Installing BookStack with Composer..." --weight=5
# Install composer # Install composer
ynh_install_composer --phpversion=$phpversion --workdir=$final_path --install_args="--no-dev" ynh_install_composer
#================================================= #=================================================
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE

View file

@ -84,9 +84,6 @@ fi
chmod 755 $final_path chmod 755 $final_path
chmod -R o-rwx $final_path chmod -R o-rwx $final_path
chown -R $app:www-data $final_path chown -R $app:www-data $final_path
chmod 775 $final_path/storage
chmod 775 $final_path/bootstrap/cache
chmod 775 $final_path/public/uploads
chmod 600 $final_path/.env chmod 600 $final_path/.env
#================================================= #=================================================
@ -111,7 +108,7 @@ ynh_add_fpm_config --package="$extra_php_dependencies"
ynh_script_progression --message="Installing BookStack with Composer..." --weight=5 ynh_script_progression --message="Installing BookStack with Composer..." --weight=5
# Install composer # Install composer
ynh_install_composer --phpversion=$phpversion --workdir=$final_path --install_args="--prefer-source --no-dev" ynh_install_composer
#================================================= #=================================================
# FINAL BOOKSTACK INSTALL # FINAL BOOKSTACK INSTALL