1 |
diff -Nur smeserver-centos2sme-6.9.1.old/root/usr/bin/centos2sme smeserver-centos2sme-6.9.1/root/usr/bin/centos2sme |
2 |
--- smeserver-centos2sme-6.9.1.old/root/usr/bin/centos2sme 2020-04-17 12:13:38.726000000 -0400 |
3 |
+++ smeserver-centos2sme-6.9.1/root/usr/bin/centos2sme 2020-04-17 12:16:56.548000000 -0400 |
4 |
@@ -37,17 +37,6 @@ |
5 |
echo "yum upgrade to install sme build of initscript:" |
6 |
yum upgrade -y 1>/dev/null |
7 |
|
8 |
-initscripts=`rpm -q initscripts` |
9 |
- |
10 |
-if [[ $initscripts =~ ^initscripts-[0-9.\-]*\.el[0-9_]+\.sme.*$ ]]; then |
11 |
- echo "... OK"; |
12 |
-else |
13 |
- echo "... something wrong try to manually install the SME version of initscripts. |
14 |
-One possible reason of this is that initscripts from CentOS is a newest version /release than the one in SME repositories."; |
15 |
- exit 1 |
16 |
-fi |
17 |
- |
18 |
- |
19 |
# they might have come back with upgrade... |
20 |
rm /etc/yum.repos.d/CentOS*.repo -rf |
21 |
|