Fixes to the pre-post debian scripts.