mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
COMPOSER_ALLOW_SUPERUSER=1
This commit is contained in:
parent
f5d1759430
commit
868a9e4497
2 changed files with 4 additions and 4 deletions
|
@ -56,7 +56,7 @@ ynh_script_progression --message="Building Movim..."
|
||||||
# Install composer
|
# Install composer
|
||||||
ynh_install_composer
|
ynh_install_composer
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_composer_exec --commands="movim:migrate"
|
COMPOSER_ALLOW_SUPERUSER=1 ynh_exec_warn_less ynh_composer_exec --commands="movim:migrate"
|
||||||
ynh_exec_as "$app" "php$phpversion" "$install_dir/daemon.php" config --username="$admin" --password="$password" --quiet
|
ynh_exec_as "$app" "php$phpversion" "$install_dir/daemon.php" config --username="$admin" --password="$password" --quiet
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -69,9 +69,9 @@ ynh_script_progression --message="Building Movim..."
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_install_composer
|
ynh_exec_warn_less ynh_install_composer
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_composer_exec --commands="config --global discard-changes true --quiet"
|
COMPOSER_ALLOW_SUPERUSER=1 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"
|
COMPOSER_ALLOW_SUPERUSER=1 ynh_exec_warn_less ynh_composer_exec --commands="update --no-interaction --quiet"
|
||||||
ynh_exec_warn_less ynh_composer_exec --commands="movim:migrate --quiet"
|
COMPOSER_ALLOW_SUPERUSER=1 ynh_exec_warn_less ynh_composer_exec --commands="movim:migrate --quiet"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REAPPLY SYSTEM CONFIGURATIONS
|
# REAPPLY SYSTEM CONFIGURATIONS
|
||||||
|
|
Loading…
Reference in a new issue