Install avahi bookmarks, even if no pygtk is available.
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Dec 2008 19:31:42 +0000 (20:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Dec 2008 19:31:42 +0000 (20:31 +0100)
Original patch by Stanislav Brabec.

Re #222

avahi-python/Makefile.am
avahi-python/avahi-bookmarks.in

index 09ad6de..4989b4b 100644 (file)
@@ -29,7 +29,6 @@ SUBDIRS=avahi avahi-discover
 
 if HAVE_PYTHON
 if HAVE_PYTHON_DBUS
-if HAVE_PYGTK
 
 pythonscripts = \
        avahi-bookmarks
@@ -43,4 +42,3 @@ CLEANFILES = $(pythonscripts)
 
 endif
 endif
-endif
index a1e8d0c..172abb3 100755 (executable)
@@ -24,7 +24,7 @@ import sys, getopt, os
 try:
     import avahi, gobject, dbus
 except ImportError:
-    print "Sorry, to use this tool you need to install Avahi, pygtk and python-dbus."
+    print "Sorry, to use this tool you need to install Avahi and python-dbus."
     sys.exit(1)
 
 try: