aboutsummaryrefslogtreecommitdiff
path: root/sysutils/screen/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/screen/pkg-plist')
-rw-r--r--sysutils/screen/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/screen/pkg-plist b/sysutils/screen/pkg-plist
index 32112173b2b7..4bf7b39f7bc4 100644
--- a/sysutils/screen/pkg-plist
+++ b/sysutils/screen/pkg-plist
@@ -16,9 +16,9 @@ bin/screen
%%DATADIR%%/utf8encodings/cc
%%DATADIR%%/utf8encodings/cd
%%DATADIR%%/utf8encodings/d6
-@unexec if cmp -s %D/etc/screenrc %%EXAMPLESDIR%%/screenrc; then rm -f %D/etc/screenrc; else echo If permanently deleting this package, %%PREFIX%%/etc/screenrc must be removed manually; fi
+@unexec if cmp -s %D/etc/screenrc %D/%%EXAMPLESDIR%%/screenrc; then rm -f %D/etc/screenrc; else echo If permanently deleting this package, %%PREFIX%%/etc/screenrc must be removed manually; fi
%%EXAMPLESDIR%%/screenrc
-@exec [ -f %B/screenrc ] || cp %B/%f %B/screenrc
+@exec [ -f %D/etc/screenrc ] || cp %B/%f %D/etc/screenrc
@dirrm %%EXAMPLESDIR%%
@dirrm %%DATADIR%%/utf8encodings
@dirrm %%DATADIR%%