mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Fix
This commit is contained in:
parent
8b3ddfd124
commit
87180103db
2 changed files with 2 additions and 8 deletions
|
@ -78,9 +78,6 @@ ynh_setup_source --dest_dir="$final_path"
|
|||
chmod 755 $final_path
|
||||
chmod -R o-rwx $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
|
||||
|
@ -105,7 +102,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
ynh_script_progression --message="Installing BookStack with Composer..." --weight=5
|
||||
|
||||
# Install composer
|
||||
ynh_install_composer --phpversion=$phpversion --workdir=$final_path --install_args="--no-dev"
|
||||
ynh_install_composer
|
||||
|
||||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
|
|
|
@ -84,9 +84,6 @@ fi
|
|||
chmod 755 $final_path
|
||||
chmod -R o-rwx $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
|
||||
|
||||
#=================================================
|
||||
|
@ -111,7 +108,7 @@ ynh_add_fpm_config --package="$extra_php_dependencies"
|
|||
ynh_script_progression --message="Installing BookStack with Composer..." --weight=5
|
||||
|
||||
# Install composer
|
||||
ynh_install_composer --phpversion=$phpversion --workdir=$final_path --install_args="--prefer-source --no-dev"
|
||||
ynh_install_composer
|
||||
|
||||
#=================================================
|
||||
# FINAL BOOKSTACK INSTALL
|
||||
|
|
Loading…
Add table
Reference in a new issue