Remove with purge

This commit is contained in:
Bob Mottram 2017-11-23 20:48:03 +00:00
parent da664fc97e
commit 974ba8742e
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ function remove_mongodb {
if [ $removemongo ]; then
systemctl stop mongodb
systemctl disable mongodb
apt-get -yq remove mongodb mongo-tools
apt-get -yq remove --purge mongodb mongo-tools
apt-get -yq autoremove
if [ -d /var/lib/mongodb ]; then
rm -rf /var/lib/mongodb