mirror of
				https://github.com/brain-hackers/brain-config.git
				synced 2025-11-04 14:38:36 +09:00 
			
		
		
		
	GL driver option now checks that xcompmgr is installed.
This commit is contained in:
		@@ -960,6 +960,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 [ ! -e /usr/bin/xcompmgr ]; then
 | 
				
			||||||
 | 
					    whiptail --msgbox "xcompmgr not found - please install" 20 60 2
 | 
				
			||||||
 | 
					    return 1
 | 
				
			||||||
 | 
					  fi
 | 
				
			||||||
  if [ "$INTERACTIVE" = True ]; then
 | 
					  if [ "$INTERACTIVE" = True ]; then
 | 
				
			||||||
    whiptail --yesno "Enable experimental GL driver for desktop?" 20 60 2 \
 | 
					    whiptail --yesno "Enable experimental GL driver for desktop?" 20 60 2 \
 | 
				
			||||||
      --yes-button Disable --no-button Enable
 | 
					      --yes-button Disable --no-button Enable
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user