Remove bdsmail if previously installed
This commit is contained in:
parent
76e56cd85e
commit
218875928e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue