diff options
author | Cy Schubert <cy@FreeBSD.org> | 2002-10-21 23:44:24 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2002-10-21 23:44:24 +0000 |
commit | 77a87f872e92a1925ff86f7062754a2540942aab (patch) | |
tree | 139994d33e730bf4fa46043fba3ff20cbb003868 /misc/screen | |
parent | Fix hardcoded cp command. (diff) |
Cleaner uninstall process, remove screenrc if it has not been altered
by the user.
Submitted by: marius@alchemy.franken.de
Notes
Notes:
svn path=/head/; revision=68553
Diffstat (limited to 'misc/screen')
-rw-r--r-- | misc/screen/pkg-plist | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/screen/pkg-plist b/misc/screen/pkg-plist index a5f1a9273229..26112c72d270 100644 --- a/misc/screen/pkg-plist +++ b/misc/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 |