mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #504 from YunoHost/fix-nodejs-remove
Fix nodejs removal in ynh_remove_nodejs
This commit is contained in:
commit
8eb45e9ca0
1 changed files with 2 additions and 0 deletions
|
@ -138,6 +138,8 @@ ynh_remove_nodejs () {
|
|||
then
|
||||
ynh_secure_remove "$n_install_dir"
|
||||
ynh_secure_remove "/usr/local/n"
|
||||
sed --in-place "/N_PREFIX/d" /root/.bashrc
|
||||
rm -f /etc/cron.daily/node_update
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue