mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-01-03 10:00:07 +09:00
raspi-config now checks for mesa driver before allowing GL driver to be enabled.
This commit is contained in:
parent
f79bbfcab0
commit
ea2b690b38
@ -1003,6 +1003,10 @@ do_gldriver() {
|
|||||||
whiptail --msgbox "Driver and kernel not present on your system. Please update" 20 60 2
|
whiptail --msgbox "Driver and kernel not present on your system. Please update" 20 60 2
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
if [ $(dpkg -l libgl1-mesa-dri | tail -n 1 | cut -d ' ' -f 1) != "ii" ]; then
|
||||||
|
whiptail --msgbox "libgl1-mesa-dri not found - please install" 20 60 2
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
if [ ! -e /usr/bin/xcompmgr ]; then
|
if [ ! -e /usr/bin/xcompmgr ]; then
|
||||||
whiptail --msgbox "xcompmgr not found - please install" 20 60 2
|
whiptail --msgbox "xcompmgr not found - please install" 20 60 2
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user