From a82eaa915731f783a9ef38f7645a531d4fdaec19 Mon Sep 17 00:00:00 2001 From: asami Date: Wed, 13 Sep 2000 07:58:32 +0000 Subject: 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 --- x11-servers/XttXF86srv-SVGA/pkg-plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'x11-servers/XttXF86srv-SVGA') diff --git a/x11-servers/XttXF86srv-SVGA/pkg-plist b/x11-servers/XttXF86srv-SVGA/pkg-plist index ce6d7e757a24..ead2302ed47e 100644 --- a/x11-servers/XttXF86srv-SVGA/pkg-plist +++ b/x11-servers/XttXF86srv-SVGA/pkg-plist @@ -1,3 +1,3 @@ bin/XF86_SVGA.xtt @exec /bin/ln -fs %D/%F %B/X -@unexec ([ -x %B/XF86_SVGA ] && /bin/ln -fs %B/XF86_SVGA %B/X) || /usr/bin/true +@unexec ([ -x %B/XF86_SVGA ] && /bin/ln -fs %B/XF86_SVGA %B/X) || /bin/rm -f %B/X -- cgit