Browse code

add tdnf motd suggestion

Change-Id: I66a6f7c227852bc093b6e2643ac30ae411d5cf22
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3773
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Bo Gan <ganb@vmware.com>

Bo Gan authored on 2017/09/15 07:48:26
Showing 2 changed files
... ...
@@ -4,7 +4,7 @@
4 4
 Summary:        dnf/yum equivalent using C libs
5 5
 Name:           tdnf
6 6
 Version:        1.2.1
7
-Release:        2%{?dist}
7
+Release:        3%{?dist}
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 License:        LGPLv2.1,GPLv2
... ...
@@ -150,6 +150,8 @@ systemctl try-restart tdnf-cache-updateinfo.timer >/dev/null 2>&1 || :
150 150
     %{_libdir}/libtdnfcli.so.*
151 151
 
152 152
 %changelog
153
+*   Thu Sep 14 2017 Bo Gan <ganb@vmware.com> 1.2.1-3
154
+-   Add suggestion in motd message
153 155
 *   Fri Jul 21 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.2.1-2
154 156
 -   Modify quiet patch.
155 157
 *   Tue Jul 18 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.2.1-1
... ...
@@ -2,6 +2,7 @@ path=/var/cache/tdnf/cached-updateinfo.txt
2 2
 
3 3
 if [ -f "$path" ]; then
4 4
     cat $path
5
+    echo "Run 'tdnf updateinfo info' to see the details."
5 6
 else
6 7
     echo "tdnf update info not available yet!"
7 8
 fi