Big rearrangement to add debconf support.
/etc/default/dump1090-mutability is now generated in postinst, if it doesn't exist, from a template in /usr/share/dump1090-mutability. Subsequently, the config file is updated in place if debconf-driven changes are made. Static HTML/javascript have moved to a "html" subdir to avoid exposing the template via the webserver.
This commit is contained in:
parent
c712543ee5
commit
125158b30a
9 changed files with 504 additions and 76 deletions
2
debian/rules
vendored
2
debian/rules
vendored
|
|
@ -15,7 +15,7 @@ DPKG_EXPORT_BUILDFLAGS = 1
|
|||
include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build -- 'EXTRACFLAGS=-DHTMLPATH=\"/usr/share/dump1090-mutability\"'
|
||||
dh_auto_build -- 'EXTRACFLAGS=-DHTMLPATH=\"/usr/share/dump1090-mutability/html\"'
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue