summaryrefslogtreecommitdiff
path: root/mail/zmailer/pkg-deinstall
blob: 2a5e48ce078e55673132e7bb1729ef31b8ca97b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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