mirror of
https://github.com/YunoHost-Apps/teddit_ynh.git
synced 2024-09-03 20:26:31 +02:00
Update upgrade
This commit is contained in:
parent
e8dc5330f7
commit
5aa11015d2
1 changed files with 10 additions and 0 deletions
|
@ -111,6 +111,16 @@ ynh_add_config --template="../conf/config.js.template" --destination="$final_pat
|
|||
chmod 400 "$final_path/config.js"
|
||||
chown $app:$app "$final_path/config.js"
|
||||
|
||||
#=================================================
|
||||
# INSTALL THE LOUNGE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing $app..." --weight=10
|
||||
|
||||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --no-optional
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue