From 1179c0a8bc24c0970eeb95c6a57f10e368e702ca Mon Sep 17 00:00:00 2001
From: Brian Tarricone <brian@tarricone.org>
Date: Wed, 29 Oct 2008 08:59:44 +0000
Subject: [PATCH] 	* thunar/Makefile.am: Don't symlink thunar -> Thunar
 on case- 	  insensitive filesystems (bug 4430).

(Old svn revision: 28498)
---
 ChangeLog          | 5 +++++
 NEWS               | 2 ++
 thunar/Makefile.am | 2 +-
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 18678df8f..8c57bc9a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-28	Brian Tarricone <kelnos@xfce.org>
+
+	* thunar/Makefile.am: Don't symlink thunar -> Thunar on case-
+	  insensitive filesystems (bug 4430).
+
 2008-10-28	Brian Tarricone <kelnos@xfce.org>
 
 	* thunar-vfs/thunar-vfs-mime-database.c: Fix usage of
diff --git a/NEWS b/NEWS
index 2b1b6c7e5..4acbb10b2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
 0.9.92
 ======
 - Fix build on MacOS X (bug 4433).
+- Don't create Thunar -> thunar symlink on case-insensitive
+  filesystems (bug 4430).
 
 0.9.91
 ======
diff --git a/thunar/Makefile.am b/thunar/Makefile.am
index 3183230ff..644d7fb4c 100644
--- a/thunar/Makefile.am
+++ b/thunar/Makefile.am
@@ -242,7 +242,7 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 # install symlink to 'thunar'
 install-data-local:
 	$(mkinstalldirs) $(DESTDIR)$(bindir)
-	-( cd $(DESTDIR)$(bindir) ; ln -sf Thunar thunar )
+	-( cd $(DESTDIR)$(bindir) ; test -x thunar || ln -sf Thunar thunar )
 
 clean-local:
 	rm -f *.core core core.*
-- 
GitLab