diff --git a/scripts/install b/scripts/install index 9dbfcc1..e1fda39 100644 --- a/scripts/install +++ b/scripts/install @@ -58,7 +58,7 @@ ynh_install_composer # hack to make composer use php8.2 rather than system-default 7.4 ln -s $(which php$phpversion) $install_dir/php -ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH; ynh_composer_exec --commands="movim:migrate" +ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH ynh_composer_exec --commands="movim:migrate" rm $install_dir/php ynh_exec_as "$app" "php$phpversion" "$install_dir/daemon.php" config --username="$admin" --password="$password" --quiet diff --git a/scripts/upgrade b/scripts/upgrade index 93613b4..3f7663c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -68,9 +68,9 @@ ynh_exec_warn_less ynh_install_composer # hack to make composer use php8.2 rather than system-default 7.4 ln -s $(which php$phpversion) $install_dir/php -ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH; ynh_composer_exec --commands="config --global discard-changes true --quiet" -ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH; ynh_composer_exec --commands="update --no-interaction --quiet" -ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH; ynh_composer_exec --commands="movim:migrate --quiet" +ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH ynh_composer_exec --commands="config --global discard-changes true --quiet" +ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH ynh_composer_exec --commands="update --no-interaction --quiet" +ynh_exec_warn_less ynh_exec_as $app PATH=$install_dir:$PATH ynh_composer_exec --commands="movim:migrate --quiet" rm $install_dir/php