aboutsummaryrefslogtreecommitdiffstats
path: root/mail/zmailer/pkg-deinstall
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-06-08 00:36:00 +0800
committervs <vs@FreeBSD.org>2004-06-08 00:36:00 +0800
commit6bee9332de71f8ae9d5784be700ebe8f084327dd (patch)
treeca31eb3dd25a8c8101accc9b11c426b82072d7d5 /mail/zmailer/pkg-deinstall
parentbcef94827c0af8f5cc5118667b7ae201cdb1693a (diff)
downloadfreebsd-ports-graphics-6bee9332de71f8ae9d5784be700ebe8f084327dd.tar.gz
freebsd-ports-graphics-6bee9332de71f8ae9d5784be700ebe8f084327dd.tar.zst
freebsd-ports-graphics-6bee9332de71f8ae9d5784be700ebe8f084327dd.zip
- 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
Diffstat (limited to 'mail/zmailer/pkg-deinstall')
-rw-r--r--mail/zmailer/pkg-deinstall12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/zmailer/pkg-deinstall b/mail/zmailer/pkg-deinstall
new file mode 100644
index 00000000000..2a5e48ce078
--- /dev/null
+++ b/mail/zmailer/pkg-deinstall
@@ -0,0 +1,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