mirror of
https://github.com/YunoHost-Apps/peertube_remote_runner_ynh.git
synced 2024-09-03 19:56:21 +02:00
Remove npm module
This commit is contained in:
parent
9e6d046e05
commit
d330a5fa04
1 changed files with 11 additions and 0 deletions
|
@ -27,6 +27,17 @@ ynh_remove_systemd_config
|
|||
|
||||
ynh_remove_nginx_config
|
||||
|
||||
|
||||
#=================================================
|
||||
# REMOVE NPM MODULE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing Peertube remote runner npm module..." --weight=1
|
||||
|
||||
pushd "$install_dir"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_npm remove @peertube/peertube-runner
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue