]> git.ipfire.org Git - location/debian/libloc.git/commitdiff
Define default database path
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Mon, 26 Sep 2022 19:51:14 +0000 (21:51 +0200)
committerJochen Sprickerhof <git@jochen.sprickerhof.de>
Mon, 26 Sep 2022 19:59:16 +0000 (21:59 +0200)
debian/rules

index e5e3f18ea1ffa34e8a19cad72cc62fd964c39c73..697a289d84cade46051dce9a9bc258e1b38d1a10 100755 (executable)
@@ -5,7 +5,8 @@ export PYBUILD_SYSTEM=custom
 export PYBUILD_CLEAN_ARGS=dh_auto_clean
 export PYBUILD_CONFIGURE_ARGS=intltoolize --force --automake; \
        PYTHON={interpreter} dh_auto_configure -- \
-       --disable-perl
+       --disable-perl \
+       --with-database-path=/var/lib/location/database.db
 export PYBUILD_BUILD_ARGS=dh_auto_build
 export PYBUILD_INSTALL_ARGS=dh_auto_install --destdir={destdir}; \
        mkdir -p {destdir}/usr/lib/python{version}/dist-packages; \