Fix nodejs removal in ynh_remove_nodejs

This commit is contained in:
Alexandre Aubin 2018-07-01 18:37:34 +02:00 committed by GitHub
parent d1ac2f218b
commit 344ae6bbf2
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
}