raspi-config now checks for mesa driver before allowing GL driver to be enabled.

This commit is contained in:
spl authored and Serge Schneider committed 2016-02-09 13:56:16 +00:00
1 parent f79bbfcab0
commit ea2b690b38
1 file changed
+4
+4
View File
@@ -1003,6 +1003,10 @@ do_gldriver() {
whiptail --msgbox "Driver and kernel not present on your system. Please update" 20 60 2
return 1
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
whiptail --msgbox "xcompmgr not found - please install" 20 60 2
return 1