mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Suppress dpkg error message.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user