aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2001-03-13 18:05:14 +0800
committerclive <clive@FreeBSD.org>2001-03-13 18:05:14 +0800
commitd4298183ae5c60dc158dc7eded45e8f0ed8937e3 (patch)
tree326f5eeb16f29ffa2f3abae948cdf994e56f8473
parent5878547031a9347b01ade1786d60b83fa4449db5 (diff)
downloadfreebsd-ports-gnome-d4298183ae5c60dc158dc7eded45e8f0ed8937e3.tar.gz
freebsd-ports-gnome-d4298183ae5c60dc158dc7eded45e8f0ed8937e3.tar.zst
freebsd-ports-gnome-d4298183ae5c60dc158dc7eded45e8f0ed8937e3.zip
A temporary workaround to remove files that shouldn't exist
after deinstallation. This hack would be removed after pine4 author accepts patch that will deal with l10n'd pine4. PR: ports/25720 Submitted by: MAINTAINER Approved by/Struggled with: MAINTAINER
-rw-r--r--chinese/pine4/pkg-plist3
1 files changed, 3 insertions, 0 deletions
diff --git a/chinese/pine4/pkg-plist b/chinese/pine4/pkg-plist
index 34a1759d5615..f1caa404d16e 100644
--- a/chinese/pine4/pkg-plist
+++ b/chinese/pine4/pkg-plist
@@ -1,3 +1,6 @@
+@unexec %D/bin/pine -conf >%D/etc/pine.conf.tmp
+@unexec if cmp -s %D/etc/pine.conf %D/etc/pine.conf.tmp; then rm -f %D/etc/pine.conf; fi
+@unexec rm -f %D/etc/pine.conf.tmp
bin/pgpdecode
bin/pgpencrypt
bin/pgpsign