summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/screen/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/screen/pkg-plist b/misc/screen/pkg-plist
index 3211217..4bf7b39 100644
--- a/misc/screen/pkg-plist
+++ b/misc/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%%
OpenPOWER on IntegriCloud