Fix postinstall script