]> git.meshlink.io Git - catta/commitdiff
update path to the new service type db path for avahi-discover, too
authorLennart Poettering <lennart@poettering.net>
Tue, 25 Sep 2007 00:25:26 +0000 (00:25 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 25 Sep 2007 00:25:26 +0000 (00:25 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1540 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-python/avahi/Makefile.am
avahi-python/avahi/ServiceTypeDatabase.py.in

index 2fff2189f3bb66e19cc3b0fd649842f77823e7fd..4a7302255a90deba1fb487c531d651b97b2146d7 100644 (file)
@@ -33,7 +33,7 @@ ServiceTypeDatabase.py: ServiceTypeDatabase.py.in
                -e 's,@FIRST_KEY\@,key = self.db.firstkey(),g' \
                -e 's,@CHECK_KEY\@,while key is not None:,g' \
                -e 's,@NEXT_KEY\@,key = self.db.nextkey(key),g' \
-               -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@
+               -e 's,@pkglibdir\@,$(pkglibdir),g' $< > $@
        chmod +x $@
 endif
 
@@ -46,7 +46,7 @@ ServiceTypeDatabase.py: ServiceTypeDatabase.py.in
                -e 's,@FIRST_KEY\@,keys = self.db.keys(),g' \
                -e 's,@CHECK_KEY\@,for key in keys:,g' \
                -e 's,@NEXT_KEY\@,,g' \
-               -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@
+               -e 's,@pkglibdir\@,$(pkglibdir),g' $< > $@
        chmod +x $@
 endif
 
index 95c03a47cff097181000947feb966b3972599db6..d1345109cae3b378ed86cdd666868b38190f2813 100644 (file)
@@ -27,7 +27,7 @@ locale.setlocale(locale.LC_ALL, '')
 
 class ServiceTypeDatabase:
 
-    def __init__(self, filename = "@pkgdatadir@/service-types.db"):
+    def __init__(self, filename = "@pkglibdir@/service-types.db"):
 
         self.db = @DBM@.open(filename, "r")