Skip to content
Snippets Groups Projects
Commit 21887592 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove bdsmail if previously installed

parent 76e56cd8
No related branches found
No related tags found
No related merge requests found
...@@ -173,12 +173,15 @@ function remove_bdsmail { ...@@ -173,12 +173,15 @@ function remove_bdsmail {
remove_completion_param install_bdsmail remove_completion_param install_bdsmail
sed -i '/bdsmail/d' $COMPLETION_FILE sed -i '/bdsmail/d' $COMPLETION_FILE
rm -rf /etc/skel/.mutt rm -rf /etc/skel/.mutt
if [ -d /etc/bdsmail ]; then
rm -rf /etc/bdsmail
fi
remove_i2p remove_i2p
} }
function install_bdsmail { function install_bdsmail {
if [ -d /etc/bdsmail ]; then if [ -d /etc/bdsmail ]; then
rm -rf /etc/bdsmail remove_bdsmail
fi fi
if [ -d /repos/bdsmail ]; then if [ -d /repos/bdsmail ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment