Rewrites debian packaging code