mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Make sure weare on a debian system when using dpkg-query to check fo X.
This commit is contained in:
@@ -13,7 +13,11 @@ if [ ! -d $BASEDIR ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if which dpkg-query > /dev/null ; then
|
||||
HAVE_X=`dpkg-query -s xserver-xorg | grep -c 'Status.*installed'`
|
||||
else
|
||||
HAVE_X=0
|
||||
fi
|
||||
|
||||
function prerequisites {
|
||||
# Prerequisites require git
|
||||
|
||||
Reference in New Issue
Block a user