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 #=================================================