mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Update upgrade
This commit is contained in:
parent
7a6069778c
commit
68cbe4c020
1 changed files with 7 additions and 7 deletions
|
@ -80,12 +80,6 @@ then
|
||||||
ynh_secure_remove --file="$tmpdir"
|
ynh_secure_remove --file="$tmpdir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set permissions on app files
|
|
||||||
chmod 755 $final_path
|
|
||||||
chmod -R o-rwx $final_path
|
|
||||||
chown -R $app:www-data $final_path
|
|
||||||
chmod 600 $final_path/.env
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -108,7 +102,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
|
yes | ynh_install_composer --commands="install --no-dev"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# FINAL BOOKSTACK INSTALL
|
# FINAL BOOKSTACK INSTALL
|
||||||
|
@ -121,6 +115,12 @@ pushd $final_path
|
||||||
&& php$phpversion artisan view:clear --no-interaction
|
&& php$phpversion artisan view:clear --no-interaction
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# Set permissions on app files
|
||||||
|
chmod 755 $final_path
|
||||||
|
chmod -R o-rwx $final_path
|
||||||
|
chown -R $app:www-data $final_path
|
||||||
|
chmod 600 $final_path/.env
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue