mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Allow running composer as root *sigh*
This commit is contained in:
parent
40fa41ca26
commit
91abda4eed
2 changed files with 5 additions and 5 deletions
|
@ -36,8 +36,8 @@ ynh_script_progression --message="Building Movim..."
|
|||
# Install composer
|
||||
ynh_install_composer
|
||||
|
||||
ynh_exec_warn_less ynh_exec_as "$app" ynh_composer_exec --commands="install"
|
||||
ynh_exec_warn_less ynh_exec_as "$app" ynh_composer_exec --commands="movim:migrate"
|
||||
COMPOSER_ALLOW_SUPERUSER=1 "$app" ynh_composer_exec --commands="install"
|
||||
COMPOSER_ALLOW_SUPERUSER=1 "$app" ynh_composer_exec --commands="movim:migrate"
|
||||
|
||||
#=================================================
|
||||
# SYSTEM CONFIGURATION
|
||||
|
|
|
@ -42,9 +42,9 @@ ynh_script_progression --message="Building Movim..."
|
|||
|
||||
ynh_exec_warn_less ynh_install_composer
|
||||
|
||||
ynh_exec_warn_less ynh_composer_exec --commands="config --global discard-changes true --quiet"
|
||||
ynh_exec_warn_less ynh_composer_exec --commands="update --no-interaction --quiet"
|
||||
ynh_exec_warn_less ynh_composer_exec --commands="movim:migrate --quiet"
|
||||
ynh_exec_warn_less COMPOSER_ALLOW_SUPERUSER=1 ynh_composer_exec --commands="config --global discard-changes true --quiet"
|
||||
ynh_exec_warn_less COMPOSER_ALLOW_SUPERUSER=1 ynh_composer_exec --commands="update --no-interaction --quiet"
|
||||
ynh_exec_warn_less COMPOSER_ALLOW_SUPERUSER=1 ynh_composer_exec --commands="movim:migrate --quiet"
|
||||
|
||||
#=================================================
|
||||
# REAPPLY SYSTEM CONFIGURATIONS
|
||||
|
|
Loading…
Add table
Reference in a new issue