Ensure that node modules are removed

This commit is contained in:
Bob Mottram 2016-11-04 17:42:17 +00:00
parent 40085c5c0f
commit 2de956b687
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ function remove_nodejs {
if [ -f /usr/bin/node ]; then
rm /usr/bin/node
fi
if [ -d /usr/lib/node_modules ]; then
rm -rf /usr/lib/node_modules
fi
remove_app nodejs