summaryrefslogtreecommitdiff
path: root/community/cinnamon/fix-control-center-check.patch
blob: 4c7b3bb0e8f5142033ca9b8fa9f9c3a30c0cda37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur cinnamon-1.7.1.orig/files/usr/bin/cinnamon-settings cinnamon-1.7.1/files/usr/bin/cinnamon-settings
--- cinnamon-1.7.1.orig/files/usr/bin/cinnamon-settings	2013-02-21 17:23:45.000000000 +0100
+++ cinnamon-1.7.1/files/usr/bin/cinnamon-settings	2013-03-03 03:03:24.151209998 +0100
@@ -7,7 +7,7 @@
 	if os.path.exists("/usr/lib/cinnamon-settings/modules/cs_%s.py" % module):
 		print "Python module"
 		os.execvp("/usr/lib/cinnamon-settings/cinnamon-settings.py", ("",) + tuple(sys.argv[1:]))
-	elif os.path.exists("/usr/bin/cinnamon-control-center"):
+	elif os.path.exists("/usr/lib/cinnamon-control-center-1/panels"):
 		print "Unknown module %s, using cinnamon-control-center" % module
 		os.execvp("/usr/lib/cinnamon-settings/cinnamon-settings.py", ("",) + tuple(sys.argv[1:]))
 	elif os.path.exists("/usr/bin/gnome-control-center"):