freebsd-ports/mail/zmailer/pkg-deinstall
Volker Stolz 53c0b7cf3c - Update to 2.99.56
- Fix installation from package

As always, please be careful not to nuke your local configuration
on updating. This port needs a maintainer who actually uses it!

Closes PR:	ports/60585
Submitted by:	Seva Gluschenko
2004-06-07 16:36:00 +00:00

13 lines
432 B
Bash

#!/bin/sh
if [ "$2" = DEINSTALL ]; then
cd /var/spool/postoffice
for d in transport queue; do
for i in A B C D E F G H I J K L M N O P Q R S T U V W X Y Z; do for j in A B C D E F G H I J K L M N O P Q R S T U V W X Y Z; do rmdir $d/$i/$j; done; rmdir $d/$i; done
rmdir $d; done
for d in router TLSsrvrcache TLSclntcache; do
for i in A B C D E F G H I J K L M N O P Q R S T U V W X Y Z; do
rmdir $d/$i; done;
rmdir $d
done
fi