]> spindle.queued.net Git - midori/commitdiff
Only look for the osso folder, not the .defs, to see if it's Maemo
authorChristian Dywan <christian@twotoasts.de>
Thu, 22 Oct 2009 21:11:57 +0000 (23:11 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 22 Oct 2009 21:11:57 +0000 (23:11 +0200)
wscript

diff --git a/wscript b/wscript
index 4fa438d11b6dcd5b1ae95f803979bd626370885c..618deb68981c948f137003e0e1342d226155a87c 100644 (file)
--- a/wscript
+++ b/wscript
@@ -300,7 +300,7 @@ def configure (conf):
         Utils.pprint ('RED', 'Please use an older or newer version.')
 
 def set_options (opt):
-    def is_maemo (): return os.path.exists ('/etc/osso-af-init/osso-gtk.defs')
+    def is_maemo (): return os.path.exists ('/etc/osso-af-init/')
 
     def add_enable_option (option, desc, group=None, disable=False):
         if group == None: