Update packaging to dh7
[invirt/packages/invirt-dev.git] / debian / rules
1 #!/usr/bin/make -f
2 %:
3         dh $@ --with python2
4
5 # We use --no-start instead of letting dh_installinit do its thing
6 # because, in the postinst, dh_installinit's automatically added code
7 # runs before dh_pysupport's automatically added code.
8 #
9 # This means that when the initscript is started, Python modules
10 # installed by the package haven't been fully installed yet.
11 override_dh_installinit:
12         dh_installinit --no-start --name invirtibuilder