Remove bdsmail if previously installed

This commit is contained in:
Bob Mottram 2018-02-11 22:48:07 +00:00
parent 76e56cd85e
commit 218875928e
1 changed files with 4 additions and 1 deletions

View File

@ -173,12 +173,15 @@ function remove_bdsmail {
remove_completion_param install_bdsmail
sed -i '/bdsmail/d' $COMPLETION_FILE
rm -rf /etc/skel/.mutt
if [ -d /etc/bdsmail ]; then
rm -rf /etc/bdsmail
fi
remove_i2p
}
function install_bdsmail {
if [ -d /etc/bdsmail ]; then
rm -rf /etc/bdsmail
remove_bdsmail
fi
if [ -d /repos/bdsmail ]; then