fixing error in postinstall script