Skip to content

Commit

Permalink
COMPOSER_ALLOW_SUPERUSER=1
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar committed Jul 10, 2024
1 parent f5d1759 commit efc3734
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ynh_script_progression --message="Building Movim..."
# Install composer
ynh_install_composer

ynh_exec_warn_less ynh_composer_exec --commands="movim:migrate"
ynh_exec_warn_less COMPOSER_ALLOW_SUPERUSER=1 ynh_composer_exec --commands="movim:migrate"
ynh_exec_as "$app" "php$phpversion" "$install_dir/daemon.php" config --username="$admin" --password="$password" --quiet

#=================================================
Expand Down
6 changes: 3 additions & 3 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,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
Expand Down

0 comments on commit efc3734

Please sign in to comment.