From 4f64e4123202b9cebfd4b5a8f854c81d3e5a7b7e Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 10 Oct 2015 01:48:23 -0700 Subject: [PATCH] Suppress dpkg error message. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 283d9e0..36364b8 100755 --- a/install.sh +++ b/install.sh @@ -221,7 +221,7 @@ if [[ ! -d $BASEDIR ]] ; then fi 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 HAVE_X=0 fi