Updating branch refs/heads/master
         to d7ca023219a1d429ce26742ec4e72d5218ecff46 (commit)
       from 4b1293fb042d3d8c88163e0637c2734405086676 (commit)

commit d7ca023219a1d429ce26742ec4e72d5218ecff46
Author: Nick Schermer <[email protected]>
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 += \
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to