From 2b15a2537c8dc4faac1b5b68965eb1b6c4f113e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 23 Oct 2023 23:47:42 +0200 Subject: [PATCH] fix --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index b27e8a2..a5f7561 100755 --- a/scripts/install +++ b/scripts/install @@ -70,7 +70,7 @@ chown $app:www-data "$install_dir/.env" ynh_script_progression --message="Configuring $app database..." --weight=1 pushd $install_dir - ynh_exec_warn_less ynh_exec_as php${phpversion} spark migrate --all + ynh_exec_warn_less ynh_exec_as $app php${phpversion} spark migrate --all popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 1c0d283..59a95a5 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -87,7 +87,7 @@ chown $app:www-data "$install_dir/.env" ynh_script_progression --message="Configuring $app database..." --weight=1 pushd $install_dir - ynh_exec_warn_less ynh_exec_as php${phpversion} spark migrate --all + ynh_exec_warn_less ynh_exec_as $app php${phpversion} spark migrate --all popd #=================================================