diff options
author | asami <asami@FreeBSD.org> | 2000-06-17 04:12:50 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2000-06-17 04:12:50 +0800 |
commit | 3c6dd141833e08aa195a706fa2b736fdd746f632 (patch) | |
tree | d746b6e631f61cf47a2fa5e1068487ad1b12fb31 | |
parent | 5d1e9a3864b513bb427d8b42ad3238b735eca3f0 (diff) | |
download | freebsd-ports-gnome-3c6dd141833e08aa195a706fa2b736fdd746f632.tar.gz freebsd-ports-gnome-3c6dd141833e08aa195a706fa2b736fdd746f632.tar.zst freebsd-ports-gnome-3c6dd141833e08aa195a706fa2b736fdd746f632.zip |
Remove pine.conf upon deinstallation if unchanged.
Reviewed by: maintainer
-rw-r--r-- | mail/pine4/pkg-plist | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/pine4/pkg-plist b/mail/pine4/pkg-plist index 1aba49cd348e..32275f17fd09 100644 --- a/mail/pine4/pkg-plist +++ b/mail/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/pico bin/pilot bin/pine |