An infinite lie group of symmetry of one-dimensional gas flow, for a class of entropy distributions