aboutsummaryrefslogtreecommitdiffstats
path: root/misc/screen
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-08-30 16:06:56 +0800
committervs <vs@FreeBSD.org>2004-08-30 16:06:56 +0800
commit4d01cfa7fdbb018af1417551bf20cc95abda8155 (patch)
tree5f5265f957b0fb79c76e040dc25b0476547a013a /misc/screen
parent351e318d4da726f6fac38bc273dcd11e41d4e518 (diff)
downloadfreebsd-ports-gnome-4d01cfa7fdbb018af1417551bf20cc95abda8155.tar.gz
freebsd-ports-gnome-4d01cfa7fdbb018af1417551bf20cc95abda8155.tar.zst
freebsd-ports-gnome-4d01cfa7fdbb018af1417551bf20cc95abda8155.zip
Fix deinstallation.
PR: ports/69282 Submitted by: Hideyuki KURASHINA (rushani@) Approved by: maintainer timeout (cy's busy in RL)
Diffstat (limited to 'misc/screen')
-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 32112173b2b7..4bf7b39f7bc4 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%%