mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Fix HAVE_X error.
This commit is contained in:
@@ -304,7 +304,9 @@ if [[ ! -d $BASEDIR ]] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if which dpkg-query > /dev/null 2>&1 ; then
|
if which dpkg-query > /dev/null 2>&1 ; then
|
||||||
HAVE_X=`dpkg-query -s xserver-xorg 2>/dev/null | grep -c 'Status.*installed'`
|
HAVE_X=$(dpkg-query -s xserver-xorg 2>/dev/null | \
|
||||||
|
grep -c 'Status.*installed' \
|
||||||
|
|| true)
|
||||||
else
|
else
|
||||||
HAVE_X=0
|
HAVE_X=0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user