mirror of
https://github.com/YunoHost-Apps/hedgedoc_ynh.git
synced 2024-09-03 19:25:52 +02:00
Merge branch 'testing' into version-2
This commit is contained in:
commit
f314af6982
1 changed files with 10 additions and 5 deletions
|
@ -89,12 +89,17 @@ ynh_add_systemd_config
|
||||||
#==============================================
|
#==============================================
|
||||||
ynh_script_progression --message="Building HedgeDoc... (this will take some time and resources!)" --weight=20
|
ynh_script_progression --message="Building HedgeDoc... (this will take some time and resources!)" --weight=20
|
||||||
|
|
||||||
|
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
|
then
|
||||||
|
ynh_script_progression --message="Building HedgeDoc... (this will take some time and resources!)" --weight=20
|
||||||
|
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
ynh_use_nodejs
|
ynh_secure_remove /usr/local/share/.cache/yarn
|
||||||
#ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn cache clean
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile
|
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build
|
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build
|
||||||
popd
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INTEGRATE SERVICE IN YUNOHOST
|
# INTEGRATE SERVICE IN YUNOHOST
|
||||||
|
|
Loading…
Add table
Reference in a new issue