@@ -1,8 +1,8 @@
#!/bin/bash
# Inventory System
# Author: Carsten Schoene
-# $LastChangedDate: 2012-09-11 16:46:33 +0200 (Tue, 11 Sep 2012) $
-# $Rev: 1771 $
+# $LastChangedDate: 2012-09-11 17:01:05 +0200 (Tue, 11 Sep 2012) $
+# $Rev: 1772 $
#
# Default options (can be changed by inventory-system.conf)
DEBUG="yes"
@@ -202,12 +202,12 @@
if [ -n "${YUM}" ] ; then
CUPD="`${YUM} check-update ${PK} | ${TAIL} -n1 | ${AWK} '{print $1}'`"
if [ -n "${CUPD}" ] ; then
- ${YUM} -y update ${PKG}
+ ${YUM} -q -y update ${PKG}
fi
elif [ -n "${ZYP}" ] ; then
CUPD="`${ZYP} -q lu | ${GREP} ${PKG}`"
if [ -n "${CUPD}" ] ; then
- ${ZYP} -n update ${PKG}
+ ${ZYP} -q -n update ${PKG}
fi
fi
fi
|