diff --git a/scripts/install b/scripts/install index 3ee1033..d5950d2 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index ae719e9..38851bb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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