diff options
-rw-r--r-- | misc/screen/pkg-plist | 4 | ||||
-rw-r--r-- | sysutils/screen/pkg-plist | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/misc/screen/pkg-plist b/misc/screen/pkg-plist index a5f1a92..26112c7 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 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 |