mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
helpers: run composer as the app user
This commit is contained in:
parent
b79395dfe0
commit
0320f1d1e2
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ ynh_composer_exec() {
|
|||
fi
|
||||
|
||||
COMPOSER_HOME="$workdir/.composer" COMPOSER_MEMORY_LIMIT=-1 \
|
||||
php${phpversion} "$workdir/composer.phar" $commands \
|
||||
sudo -u "$app" php${phpversion} "$workdir/composer.phar" $commands \
|
||||
-d "$workdir" --no-interaction --no-ansi 2>&1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue