From 914056eea9c3805a1ee8035c8310517bf5034bf1 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Sun, 12 May 2024 22:13:00 +0200 Subject: [PATCH] Fix even more --- scripts/install | 2 +- scripts/upgrade | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index e1fda39..9dbfcc1 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 3f7663c..93613b4 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