diff options
author | asami <asami@FreeBSD.org> | 2000-09-13 07:58:32 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2000-09-13 07:58:32 +0000 |
commit | a82eaa915731f783a9ef38f7645a531d4fdaec19 (patch) | |
tree | 3687850e4fbc27d4507e9e0dd310ae485b4e565d /x11-servers/XttXF86srv-S3V | |
parent | b69745ff6036ff4ffab634eae050ebd61a9b409b (diff) | |
download | FreeBSD-ports-a82eaa915731f783a9ef38f7645a531d4fdaec19.zip FreeBSD-ports-a82eaa915731f783a9ef38f7645a531d4fdaec19.tar.gz |
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-S3V')
-rw-r--r-- | x11-servers/XttXF86srv-S3V/pkg-plist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-servers/XttXF86srv-S3V/pkg-plist b/x11-servers/XttXF86srv-S3V/pkg-plist index fed56c3..19e3ef6 100644 --- a/x11-servers/XttXF86srv-S3V/pkg-plist +++ b/x11-servers/XttXF86srv-S3V/pkg-plist @@ -1,3 +1,3 @@ bin/XF86_S3V.xtt @exec /bin/ln -fs %D/%F %B/X -@unexec ([ -x %B/XF86_S3V ] && /bin/ln -fs %B/XF86_S3V %B/X) || /usr/bin/true +@unexec ([ -x %B/XF86_S3V ] && /bin/ln -fs %B/XF86_S3V %B/X) || /bin/rm -f %B/X |