Fix the debian postinst script template
Merge review 189 by @mlucy