aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/XttXF86srv-I128
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-I128
parent90b96b5d66e9e677329f6cdfa79f818fee85f264 (diff)
downloadports-945bc124d101799d3ef2126efd5f258378f99188.tar.gz
ports-945bc124d101799d3ef2126efd5f258378f99188.zip
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-I128')
-rw-r--r--x11-servers/XttXF86srv-I128/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-servers/XttXF86srv-I128/pkg-plist b/x11-servers/XttXF86srv-I128/pkg-plist
index 13590cac42b9..a9769a4923ef 100644
--- a/x11-servers/XttXF86srv-I128/pkg-plist
+++ b/x11-servers/XttXF86srv-I128/pkg-plist
@@ -1,3 +1,3 @@
bin/XF86_I128.xtt
@exec /bin/ln -fs %D/%F %B/X
-@unexec ([ -x %B/XF86_I128 ] && /bin/ln -fs %B/XF86_I128 %B/X) || /usr/bin/true
+@unexec ([ -x %B/XF86_I128 ] && /bin/ln -fs %B/XF86_I128 %B/X) || /bin/rm -f %B/X