r2701 - dists/trunk/live-helper/functions
matth-guest at alioth.debian.org
matth-guest at alioth.debian.org
Sun Aug 5 14:11:22 UTC 2007
Author: matth-guest
Date: 2007-08-05 14:11:22 +0000 (Sun, 05 Aug 2007)
New Revision: 2701
Modified:
dists/trunk/live-helper/functions/packages.sh
Log:
quiet if package is not found
Modified: dists/trunk/live-helper/functions/packages.sh
===================================================================
--- dists/trunk/live-helper/functions/packages.sh 2007-08-05 14:05:11 UTC (rev 2700)
+++ dists/trunk/live-helper/functions/packages.sh 2007-08-05 14:11:22 UTC (rev 2701)
@@ -72,7 +72,7 @@
case "${LH_CHROOT_BUILD}" in
enabled)
- if Chroot "dpkg-query -s ${PACKAGE}" | grep -qs "Status: install"
+ if Chroot "dpkg-query -s ${PACKAGE}" 2> /dev/null | grep -qs "Status: install"
then
INSTALL_STATUS=0
else
@@ -82,7 +82,7 @@
disabled)
if which dpkg-query > /dev/null 2>&1
then
- if Chroot "dpkg-query -s ${PACKAGE}" | grep -qs "Status: install"
+ if Chroot "dpkg-query -s ${PACKAGE}" 2> /dev/null | grep -qs "Status: install"
then
INSTALL_STATUS=0
else
More information about the debian-live-changes
mailing list