Removes obsolete commands from postinst