[installer][host] replace elif with endif