1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/humhub_ynh.git synced 2024-09-03 19:26:11 +02:00

Update install

This commit is contained in:
ericgaspar 2022-05-17 07:40:28 +02:00
parent 0e0aafccbe
commit 4507e9aee5

View file

@ -131,7 +131,7 @@ ynh_replace_string --match_string="defined('YII_ENV') or define('YII_ENV', 'dev'
chown -R $app: $final_path
# Set the app as temporarily public for curl call
ynh_script_progression --message="Configuring SSOwat..." --weight=30
ynh_script_progression --message="Configuring SSOwat..." --weight=1
# Making the app public for curl
ynh_permission_update --permission="main" --add="visitors"
# Reload SSOwat config
@ -141,7 +141,7 @@ yunohost app ssowatconf
ynh_systemd_action --service_name=nginx --action=reload
# Installation with curl
ynh_script_progression --message="Finalizing installation..." --weight=2
ynh_script_progression --message="Finalizing installation..." --weight=10
pushd $final_path/protected
php${YNH_PHP_VERSION} yii migrate/up --includeModuleMigrations=1 --interactive=0
@ -227,7 +227,7 @@ chmod 644 "/etc/cron.d/$app"
#=================================================
# SETUP SSOWAT
#=================================================
ynh_script_progression --message="Configuring permissions..." --weight=35
ynh_script_progression --message="Configuring permissions..." --weight=1
# Make app public if necessary
if [ $is_public -eq 1 ]