Merge "Redirect dpkg -l stderr to /dev/null"

This commit is contained in:
Jenkins 2013-08-20 04:01:32 +00:00 committed by Gerrit Code Review
commit 68044c0245

View File

@ -912,7 +912,7 @@ function is_package_installed() {
fi
if [[ "$os_PACKAGE" = "deb" ]]; then
dpkg -l "$@" > /dev/null
dpkg -l "$@" > /dev/null 2> /dev/null
elif [[ "$os_PACKAGE" = "rpm" ]]; then
rpm --quiet -q "$@"
else