7
0
mirror of https://git.rockylinux.org/rocky/comps.git synced 2024-11-14 17:21:24 +00:00
comps/scripts/conv-to-stable.sh

12 lines
357 B
Bash
Executable File

#!/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