Fixes postinst script.