/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to debian/mandos.postinst

  • Committer: Teddy Hogeborn
  • Date: 2014-05-30 09:53:03 UTC
  • mto: (237.7.272 trunk)
  • mto: This revision was merged to the branch mainline in revision 315.
  • Revision ID: teddy@recompile.se-20140530095303-fwmdnayna7c5v0a2
Depend on new enough version of dpkg-dev.

* debian/control (mandos-client/Depends): Add "dpkg-dev (>=1.16.0)";
  initramfs-tools-hook runs "dpkg-architecture -qDEB_HOST_MULTIARCH".

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
# "avahi-daemon") in its /etc/init.d script header.  To make
52
52
# insserv(8) happy, we edit our /etc/init.d script header to contain
53
53
# the correct string before the code added by dh_installinit calls
54
 
# update.rc-d, which calls insserv.
 
54
# update.rd-c, which calls insserv.
55
55
avahi_version="`dpkg-query --showformat='${Version}' --show avahi-daemon`"
56
56
if dpkg --compare-versions "$avahi_version" le 0.6.31-2; then
57
57
    sed --in-place --expression='/^### BEGIN INIT INFO$/,/^### END INIT INFO$/s/^\(# Required-\(Stop\|Start\):.*avahi\)-daemon\>/\1/g' /etc/init.d/mandos