[yadt] push by krux...@gmail.com - Mr Thormann forced mz to commit on 2013-06-17 11:59 GMT

1 view
Skip to first unread message

ya...@googlecode.com

unread,
Jun 17, 2013, 8:00:17 AM6/17/13
to yadt-...@googlegroups.com
Revision: 8ab00c2df00e
Branch: default
Author: kru...@gmail.com
Date: Mon Jun 17 04:59:32 2013
Log: Mr Thormann forced mz to commit
http://code.google.com/p/yadt/source/detail?r=8ab00c2df00e

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

=======================================
--- /yadt-client/src/usr/bin/yadt-yum Thu Jun 13 02:29:20 2013
+++ /yadt-client/src/usr/bin/yadt-yum Mon Jun 17 04:59:32 2013
@@ -75,8 +75,7 @@
# YUM channels in our call to yum. That prevents unwanted upgrades from
RHN channels
# perform updates, until there are no more left
while true; do
- yum makecache > /dev/null 2>&1
- UPDATES=($(yum -q --cacheonly list updates | gawk '!/Updated\
Packages/ { pkgs=$1; sub(/\.[a-z]+[_0-9]*$/,"",pkgs);printf pkgs" " }'))
+ UPDATES=($(yum -q list updates | gawk '!/Updated\ Packages/ { pkgs=$1;
sub(/\.[a-z]+[_0-9]*$/,"",pkgs);printf pkgs" " }'))

if [ "${#UPDATES[@]}" -gt 0 ] ; then
echo "${OPTIONS[@]}"
@@ -92,6 +91,7 @@
done
EC=$?
/usr/bin/yadt-status-structure
+ package-cleanup -q --oldkernels --count=2
exit $EC
fi
;;
Reply all
Reply to author
Forward
0 new messages