summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-08-30 08:06:56 +0000
committervs <vs@FreeBSD.org>2004-08-30 08:06:56 +0000
commit4d01cfa7fdbb018af1417551bf20cc95abda8155 (patch)
tree5f5265f957b0fb79c76e040dc25b0476547a013a /misc
parent351e318d4da726f6fac38bc273dcd11e41d4e518 (diff)
downloadFreeBSD-ports-4d01cfa7fdbb018af1417551bf20cc95abda8155.zip
FreeBSD-ports-4d01cfa7fdbb018af1417551bf20cc95abda8155.tar.gz
Fix deinstallation.
PR: ports/69282 Submitted by: Hideyuki KURASHINA (rushani@) Approved by: maintainer timeout (cy's busy in RL)
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