mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
Add PATH for npm build
This commit is contained in:
parent
d326e36dea
commit
4831b7576c
1 changed files with 2 additions and 2 deletions
|
@ -187,8 +187,8 @@ mkdir -p "$final_path/db"
|
||||||
chown -R "$app":"$app" "$final_path"
|
chown -R "$app":"$app" "$final_path"
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
sudo -u $app env PATH=$nodejs_path npm install --ignore-scripts
|
sudo -u $app env PATH=$PATH npm install --ignore-scripts
|
||||||
sudo -u $app env PATH=$nodejs_path npm run build
|
sudo -u $app env PATH=$PATH npm run build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue