Suppress dpkg error message.

This commit is contained in:
David Tomaschik
2015-10-10 01:48:23 -07:00
parent 98455d4917
commit 4f64e41232

View File

@@ -221,7 +221,7 @@ if [[ ! -d $BASEDIR ]] ; then
fi fi
if which dpkg-query > /dev/null ; then if which dpkg-query > /dev/null ; then
HAVE_X=`dpkg-query -s xserver-xorg | grep -c 'Status.*installed'` HAVE_X=`dpkg-query -s xserver-xorg 2>/dev/null | grep -c 'Status.*installed'`
else else
HAVE_X=0 HAVE_X=0
fi fi