Merge pull request #504 from YunoHost/fix-nodejs-remove

Fix nodejs removal in ynh_remove_nodejs
This commit is contained in:
Bram 2018-07-09 20:01:05 +02:00 committed by GitHub
commit 8eb45e9ca0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}