diff options
author | cy <cy@FreeBSD.org> | 2002-10-21 23:44:24 +0000 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2002-10-21 23:44:24 +0000 |
commit | b74a82520f9f5db5b055d8d67f0444e34dacdf40 (patch) | |
tree | 6c3708176ac6e852784188d2478a4eaead983460 /sysutils/screen | |
parent | 4f0aa5bc3d855e0c9a02fbb0dc0d70e6efc5543a (diff) | |
download | FreeBSD-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-plist | 4 |
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 |