If you put the same code in the rules script, it will solve your problem. If you want to learn a bit more about these scripts, you can find some info here: http://www.debian.org/doc/debian-pol...erscripts.html