1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-22 23:56:13 +01:00

Do not invoke graphical install on Raspbian

This commit is contained in:
Harald Barth 2023-07-06 16:58:36 +02:00
parent c2fcdddd1f
commit 4192c1f5a3
2 changed files with 6 additions and 1 deletions

View File

@ -1 +1 @@
#define GITHUB_SHA "devel-overcurrent-202307061318Z" #define GITHUB_SHA "devel-overcurrent-202307061457Z"

View File

@ -38,6 +38,11 @@ function need () {
need git need git
if cat /etc/issue | egrep '^Raspbian' 2>&1 >/dev/null ; then
# we are on a raspi where we do not support graphical
unset DISPLAY
fi
if [ x$DISPLAY != x ] ; then if [ x$DISPLAY != x ] ; then
# we have DISPLAY, do the graphic thing # we have DISPLAY, do the graphic thing
need python3-tk need python3-tk