Skip to content
Snippets Groups Projects
Verified Commit c2ce57ff authored by Louis Abel's avatar Louis Abel :tv:
Browse files

update sync script (10)

parent ad24393f
No related branches found
No related tags found
No related merge requests found
...@@ -24,13 +24,13 @@ s/Red Hat, Inc./Rocky Enterprise Software Foundation/g ...@@ -24,13 +24,13 @@ s/Red Hat, Inc./Rocky Enterprise Software Foundation/g
EOF EOF
sed -i "$sscript" "${COMPS_ROCKY}" sed -i "$sscript" "${COMPS_ROCKY}"
echo "Making sure some packages are RHEL only" #echo "Making sure some packages are RHEL only"
while read -r pattern; do #while read -r pattern; do
mscript+="$pattern;" # mscript+="$pattern;"
done <<EOF #done <<EOF
/ <packagereq .*>insights-client/ s/(<packagereq.*>insights-client<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g #/ <packagereq .*>insights-client/ s/(<packagereq.*>insights-client<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
EOF #EOF
sed -Ei "$mscript" "${COMPS_ROCKY}" #sed -Ei "$mscript" "${COMPS_ROCKY}"
echo "Making sure some packages are RHEL only" echo "Making sure some packages are RHEL only"
while read -r pattern; do while read -r pattern; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment