From 605d7bf7a7dca41e470cb7952d5e42112237653d Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Mon, 13 May 2024 00:04:56 +0200 Subject: [PATCH] fasfsdfsdf --- scripts/install | 2 +- scripts/upgrade | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 82d7dcf..e535dd0 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 PATH=$install_dir:$PATH ynh_composer_exec --commands="movim:migrate" +ynh_exec_warn_less env 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 e425b3f..a801939 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 PATH=$install_dir:$PATH ynh_composer_exec --commands="config --global discard-changes true --quiet" -ynh_exec_warn_less PATH=$install_dir:$PATH ynh_composer_exec --commands="update --no-interaction --quiet" -ynh_exec_warn_less PATH=$install_dir:$PATH ynh_composer_exec --commands="movim:migrate --quiet" +ynh_exec_warn_less env PATH=$install_dir:$PATH ynh_composer_exec --commands="config --global discard-changes true --quiet" +ynh_exec_warn_less env PATH=$install_dir:$PATH ynh_composer_exec --commands="update --no-interaction --quiet" +ynh_exec_warn_less env PATH=$install_dir:$PATH ynh_composer_exec --commands="movim:migrate --quiet" rm $install_dir/php