1 |
jpp |
1.1 |
diff -Nur smeserver-yum-2.6.0.old/root/sbin/e-smith/check4contribsupdates smeserver-yum-2.6.0/root/sbin/e-smith/check4contribsupdates |
2 |
|
|
--- smeserver-yum-2.6.0.old/root/sbin/e-smith/check4contribsupdates 2016-02-05 18:19:58.000000000 -0500 |
3 |
|
|
+++ smeserver-yum-2.6.0/root/sbin/e-smith/check4contribsupdates 2019-01-23 20:52:57.183000000 -0500 |
4 |
|
|
@@ -8,16 +8,16 @@ |
5 |
|
|
|
6 |
|
|
yum -e 0 -d 0 check-update --disablerepo=* --enablerepo=smecontribs > $TMP1 |
7 |
|
|
if [ $? = 100 ]; then |
8 |
|
|
- echo -e "===\n=== yum reports available updates for Contribs :\n===" >> $TMPFILE |
9 |
|
|
+ echo -e "===\n=== yum reports available updates for Contribs:\n===" >> $TMPFILE |
10 |
|
|
cat $TMP1 >> $TMPFILE |
11 |
|
|
- echo -e "\n To apply all these updates, you can log on your server and run the following command :\n |
12 |
|
|
- yum update --enablerepo=smecontribs\n\n" >> $TMPFILE |
13 |
|
|
- echo -e "\n Alternatively you can update a contrib package one at a time using the command:\n |
14 |
|
|
- yum update --enablerepo=smecontribs packagename |
15 |
|
|
- signal-event post-upgrade |
16 |
|
|
- signal-event reboot |
17 |
|
|
- |
18 |
|
|
- (replace packagename with contrib name eg smeserver-wbl)\n" >> $TMPFILE |
19 |
|
|
+ echo -e "\n=== To apply *all* these updates, log on to your server command line and |
20 |
|
|
+=== enter the following command: |
21 |
|
|
+ # yum update --enablerepo=smecontribs" >> $TMPFILE |
22 |
|
|
+ echo -e "\n=== Alternatively you can update packages one at a time using the command: |
23 |
|
|
+=== (replace packagename with contrib name eg smeserver-wbl) |
24 |
|
|
+ # yum update --enablerepo=smecontribs packagename |
25 |
|
|
+ # signal-event post-upgrade |
26 |
|
|
+ # signal-event reboot\n" >> $TMPFILE |
27 |
|
|
fi |
28 |
|
|
|
29 |
|
|
if [ -s $TMPFILE ]; then |