mirror of
https://github.com/YunoHost-Apps/timeoff_ynh.git
synced 2024-09-03 20:35:59 +02:00
fix cache clean
This commit is contained in:
parent
17cbca8319
commit
ddf075796c
2 changed files with 3 additions and 3 deletions
|
@ -108,7 +108,7 @@ ynh_script_progression --message="Installing TimeOff..."
|
|||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install 2>/dev/null
|
||||
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm cache clean 2>/dev/null
|
||||
#ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm cache clean 2>/dev/null
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -114,7 +114,7 @@ then
|
|||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install 2>/dev/null
|
||||
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm cache clean 2>/dev/null
|
||||
#ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm cache clean 2>/dev/null
|
||||
ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production $ynh_npm run-script db-update
|
||||
popd
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue