[yadt] push by kay.voge...@googlemail.com - change from Mr. Thormann to get system updates from Satellite Repos fo... on 2013-06-13 09:30 GMT

0 views
Skip to first unread message

ya...@googlecode.com

unread,
Jun 13, 2013, 5:31:05 AM6/13/13
to yadt-...@googlegroups.com
Revision: bf144e2032b6
Branch: default
Author: kay.vog...@googlemail.com
Date: Thu Jun 13 02:29:20 2013
Log: change from Mr. Thormann to get system updates from Satellite
Repos for Redhat systems
http://code.google.com/p/yadt/source/detail?r=bf144e2032b6

Modified:
/yadt-client/src/usr/bin/yadt-yum

=======================================
--- /yadt-client/src/usr/bin/yadt-yum Wed Apr 17 04:43:49 2013
+++ /yadt-client/src/usr/bin/yadt-yum Thu Jun 13 02:29:20 2013
@@ -76,7 +76,7 @@
# perform updates, until there are no more left
while true; do
yum makecache > /dev/null 2>&1
- UPDATES=($($(type -p repoquery) -a --pkgnarrow=updates
--queryformat "%{name}" --cache))
+ UPDATES=($(yum -q --cacheonly list updates | gawk '!/Updated\
Packages/ { pkgs=$1; sub(/\.[a-z]+[_0-9]*$/,"",pkgs);printf pkgs" " }'))

if [ "${#UPDATES[@]}" -gt 0 ] ; then
echo "${OPTIONS[@]}"
Reply all
Reply to author
Forward
0 new messages