minor corrections to ans template.
check platform is RPM based before going that way  as we will have debs in the future.