[Xfce4-commits] <terminal:master> Only install the symlink if the Terminal command exists.
Nick Schermer
noreply at xfce.org
Sun Feb 7 19:16:02 CET 2010
Updating branch refs/heads/master
to d7ca023219a1d429ce26742ec4e72d5218ecff46 (commit)
from 4b1293fb042d3d8c88163e0637c2734405086676 (commit)
commit d7ca023219a1d429ce26742ec4e72d5218ecff46
Author: Nick Schermer <nick at xfce.org>
Date: Sun Feb 7 18:46:49 2010 +0100
Only install the symlink if the Terminal command exists.
terminal/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/terminal/Makefile.am b/terminal/Makefile.am
index 12b7de7..f84a7e3 100644
--- a/terminal/Makefile.am
+++ b/terminal/Makefile.am
@@ -91,7 +91,7 @@ Terminal_LDADD = \
# install symlink to 'terminal'
install-exec-hook:
$(mkinstalldirs) $(DESTDIR)$(bindir)
- -( cd $(DESTDIR)$(bindir) ; test -x terminal || ln -sf Terminal terminal )
+ -( cd $(DESTDIR)$(bindir) ; test -x terminal || test -x Terminal && ln -sf Terminal terminal )
if HAVE_DBUS
Terminal_CFLAGS += \
More information about the Xfce4-commits
mailing list