mirror of
https://github.com/YunoHost-Apps/gamja_ynh.git
synced 2024-09-03 18:36:34 +02:00
fix
This commit is contained in:
parent
d722ca6629
commit
2f82390efa
2 changed files with 4 additions and 4 deletions
|
@ -45,8 +45,8 @@ ynh_script_progression --message="Building app... (this will take some time and
|
|||
|
||||
pushd "$install_dir"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less npm i -g npm
|
||||
ynh_exec_warn_less npm install --production
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm i -g npm
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --production
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -60,8 +60,8 @@ ynh_script_progression --message="Building app... (this will take some time and
|
|||
|
||||
pushd "$install_dir"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less npm i -g npm
|
||||
ynh_exec_warn_less npm install --production
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm i -g npm
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --production
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue