]> git.ipfire.org Git - location/debian/libloc.git/commit
Move maintainer script to the libloc1 package
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Mon, 26 Sep 2022 19:35:38 +0000 (21:35 +0200)
committerJochen Sprickerhof <git@jochen.sprickerhof.de>
Mon, 26 Sep 2022 19:40:19 +0000 (21:40 +0200)
commitb9827cc18b749f5642d40d40f7327ff7a720818b
tree48c9128f1f70eecece0701737899b11601a770bb
parent4d09292027948feacac98a0ea3a8d9689d8539f1
Move maintainer script to the libloc1 package

This makes sure that libloc1 can find the database from the
libloc-database package without needing to install the location package.
Also, as the location package transitively depends on libloc1, this
makes sure that /var/lib/location/ is cleaned up in case the cronjob in
the location package downloaded a database dump.

Also make libloc1 recommend libloc-database | location to make sure some
database is available by default. But don't make it a hard dependency as
one can provide a different path to libloc1 and also it would be a
cyclic dependency for the location package.
debian/control
debian/libloc1.postinst [moved from debian/location.postinst with 100% similarity]
debian/libloc1.postrm [moved from debian/location.postrm with 100% similarity]