8
0
Fork 0
mirror of https://git.rockylinux.org/rocky/comps.git synced 2025-01-03 14:40:56 +00:00
comps/scripts/conv-to-stable.sh

11 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