remove extra %end in postinstall