[yadt] push by krux...@gmail.com - fixed yadt-yum call on 2013-04-17 09:25 GMT

2 views
Skip to first unread message

ya...@googlecode.com

unread,
Apr 17, 2013, 5:25:33 AM4/17/13
to yadt-...@googlegroups.com
Revision: 50e9c7a0f8dc
Branch: default
Author: kru...@gmail.com
Date: Wed Apr 17 02:24:41 2013
Log: fixed yadt-yum call
http://code.google.com/p/yadt/source/detail?r=50e9c7a0f8dc

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

=======================================
--- /yadt-client/src/usr/bin/yadt-yum Wed Apr 17 01:59:38 2013
+++ /yadt-client/src/usr/bin/yadt-yum Wed Apr 17 02:24:41 2013
@@ -76,7 +76,7 @@
# perform updates, until there are no more left
while true; do
yum makecache > /dev/null 2>&1
- UPDATES=(sudo $(type -p repoquery) -a --pkgnarrow=updates
--queryformat "%{name}" --cache) )
+ UPDATES=($(type -p repoquery) -a --pkgnarrow=updates
--queryformat "%{name}" --cache)

if [ "${#UPDATES[@]}" -gt 0 ] ; then
yum "${OPTIONS[@]}" "${PARAMETERS[0]}" -y "${UPDATES[@]}" || exit
Reply all
Reply to author
Forward
0 new messages