Fixing postinstall script