aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XttXF86srv-Mach8
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-09-13 15:58:32 +0800
committerasami <asami@FreeBSD.org>2000-09-13 15:58:32 +0800
commita82eaa915731f783a9ef38f7645a531d4fdaec19 (patch)
tree3687850e4fbc27d4507e9e0dd310ae485b4e565d /x11-servers/XttXF86srv-Mach8
parentb69745ff6036ff4ffab634eae050ebd61a9b409b (diff)
downloadfreebsd-ports-gnome-a82eaa915731f783a9ef38f7645a531d4fdaec19.tar.gz
freebsd-ports-gnome-a82eaa915731f783a9ef38f7645a531d4fdaec19.tar.zst
freebsd-ports-gnome-a82eaa915731f783a9ef38f7645a531d4fdaec19.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
Diffstat (limited to 'x11-servers/XttXF86srv-Mach8')
-rw-r--r--x11-servers/XttXF86srv-Mach8/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-servers/XttXF86srv-Mach8/pkg-plist b/x11-servers/XttXF86srv-Mach8/pkg-plist
index 71f55fc98d6a..e32440a7ddca 100644
--- a/x11-servers/XttXF86srv-Mach8/pkg-plist
+++ b/x11-servers/XttXF86srv-Mach8/pkg-plist
@@ -1,3 +1,3 @@
bin/XF86_Mach8.xtt
@exec /bin/ln -fs %D/%F %B/X
-@unexec ([ -x %B/XF86_Mach8 ] && /bin/ln -fs %B/XF86_Mach8 %B/X) || /usr/bin/true
+@unexec ([ -x %B/XF86_Mach8 ] && /bin/ln -fs %B/XF86_Mach8 %B/X) || /bin/rm -f %B/X