mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 15:46:14 +01:00
Do not invoke graphical install on Raspbian
This commit is contained in:
parent
c2fcdddd1f
commit
4192c1f5a3
|
@ -1 +1 @@
|
||||||
#define GITHUB_SHA "devel-overcurrent-202307061318Z"
|
#define GITHUB_SHA "devel-overcurrent-202307061457Z"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user