summaryrefslogtreecommitdiff
path: root/x11-servers/XttXF86srv-W32
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-09-13 07:58:32 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-09-13 07:58:32 +0000
commit945bc124d101799d3ef2126efd5f258378f99188 (patch)
tree091eee578b05d30b679515dede92ac836f3ba3e9 /x11-servers/XttXF86srv-W32
parent(1) (This is actually from the previous revision -- I forgot to put it (diff)
Don't leave the bin/X symlink dangling around if we can't find an
appropriate server to point to. Submitted by: imura Approved by: maintainer
Notes
Notes: svn path=/head/; revision=32568
Diffstat (limited to 'x11-servers/XttXF86srv-W32')
-rw-r--r--x11-servers/XttXF86srv-W32/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-servers/XttXF86srv-W32/pkg-plist b/x11-servers/XttXF86srv-W32/pkg-plist
index 1d0b68449db5..d314a932ef4d 100644
--- a/x11-servers/XttXF86srv-W32/pkg-plist
+++ b/x11-servers/XttXF86srv-W32/pkg-plist
@@ -1,3 +1,3 @@
bin/XF86_W32.xtt
@exec /bin/ln -fs %D/%F %B/X
-@unexec ([ -x %B/XF86_W32 ] && /bin/ln -fs %B/XF86_W32 %B/X) || /usr/bin/true
+@unexec ([ -x %B/XF86_W32 ] && /bin/ln -fs %B/XF86_W32 %B/X) || /bin/rm -f %B/X