summaryrefslogtreecommitdiffstats
path: root/sysutils/screen
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2002-10-21 23:44:24 +0000
committercy <cy@FreeBSD.org>2002-10-21 23:44:24 +0000
commitb74a82520f9f5db5b055d8d67f0444e34dacdf40 (patch)
tree6c3708176ac6e852784188d2478a4eaead983460 /sysutils/screen
parent4f0aa5bc3d855e0c9a02fbb0dc0d70e6efc5543a (diff)
downloadFreeBSD-ports-b74a82520f9f5db5b055d8d67f0444e34dacdf40.zip
FreeBSD-ports-b74a82520f9f5db5b055d8d67f0444e34dacdf40.tar.gz
Cleaner uninstall process, remove screenrc if it has not been altered
by the user. Submitted by: marius@alchemy.franken.de
Diffstat (limited to 'sysutils/screen')
-rw-r--r--sysutils/screen/pkg-plist4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/screen/pkg-plist b/sysutils/screen/pkg-plist
index a5f1a92..26112c7 100644
--- a/sysutils/screen/pkg-plist
+++ b/sysutils/screen/pkg-plist
@@ -18,6 +18,8 @@ share/screen/utf8encodings/c8
share/screen/utf8encodings/cc
share/screen/utf8encodings/cd
share/screen/utf8encodings/d6
+@unexec if cmp -s %D/etc/screenrc %D/etc/screenrc.sample; then rm -f %D/etc/screenrc; else echo If permanently deleting this package, %%PREFIX%%/etc/screenrc must be removed manually; fi
+etc/screenrc.sample
+@exec [ -f %B/screenrc ] || cp %B/%f %B/screenrc
@dirrm share/screen/utf8encodings
@dirrm share/screen
-@unexec echo If permanently deleting this package, %%PREFIX%%/etc/screenrc must be removed manually
OpenPOWER on IntegriCloud