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