home · contact · privacy
Fix hardware acceleration in postinstall script.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 12 Dec 2015 22:24:22 +0000 (23:24 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 12 Dec 2015 22:24:22 +0000 (23:24 +0100)
jessie_postinstall.sh

index fb4161fd2a00114fcfb80087c8f9ebb62ae25ea6..7aafe79cd2f273f8adf8e1d9979de71470eb636f 100755 (executable)
@@ -212,12 +212,12 @@ elif [ "$1" = "thinkpad" ]; then
 
     # Set up OpenGL and hardware acceleration.
     if [ "$2" = "X200s" ]; then
-        apt-get -y install libgl1-mesa-dri
         apt-get -y install i965-va-driver
-        usermod -aG video plom
     elif [ "$2" = "T450s" ]; then
         apt-get -y -t jessie-backports install xserver-xorg-video-intel
     fi
+    apt-get -y install libgl1-mesa-dri
+    usermod -aG video plom
 
     # Install xrandr.
     apt-get -y install x11-xserver-utils