#!/bin/bash

x=$1
y=$2

cp comps-rocky-${x}-lh.xml.in comps-rocky-${x}.${y}.xml.in
sed -i '/rocky-release-eula/d' comps-rocky-${x}.${y}.xml.in
sed -i '/redhat-release-eula/d' comps-rocky-${x}.${y}.xml.in
sed -i '/rhc-devel/d' comps-rocky-${x}.${y}.xml.in
sed -i '/rhc/d' comps-rocky-${x}.${y}.xml.in
sed -i '/insights-client/d' comps-rocky-${x}.${y}.xml.in
