-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbranding.sh
More file actions
20 lines (20 loc) · 796 Bytes
/
branding.sh
File metadata and controls
20 lines (20 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
sed -Ei 's@Red Hat Enterprise Linux@EuroLinux@g' *.xml
sed -Ei 's@Red Hat CodeReady Linux Builder@EuroLinux CRB@g' *.xml
sed -Ei 's@RHEL@EL@g' *.xml
sed -Ei 's@紅帽企業@Euro@g' *.xml
sed -Ei 's@Red Hat@EuroLinux@g' *.xml
sed -Ei 's@redhat-logos@el-logos@g' *.xml
sed -Ei 's@redhat-release@el-release@g' *.xml
sed -Ei 's@redhat-indexhtml@el-indexhtml@g' *.xml
sed -Ei 's@CodeReadyBuilder@CRB@g' *.xml
sed -Ei 's@CodeReady-Builder@CRB@g' *.xml
sed -Ei 's@CodeReady Builder@CRB@g' *.xml
sed -Ei 's@codeready-builder@crb@g' *.xml
# this is failsafe
sed -Ei 's@CodeReady@CRB@g' *.xml
sed -Ei 's@codeready@crb@g' *.xml
sed -Ei '/DOCTYPE comps PUBLIC/d' *.xml
sed -Ei '/subscription-manager/d' *.xml
sed -Ei '/insights-client/d' *.xml
sed -Ei '/Red_Hat_Enterprise_Linux-Release/d' *.xml