File: bumblebee-nvidia.postrm.Ubuntu

package info (click to toggle)
bumblebee 3.2.1-29
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,304 kB
  • sloc: ansic: 2,845; sh: 1,796; makefile: 190
file content (16 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -e

case "$1" in
  remove|abort-install)
      # Restore the alternatives in case bumblebee is installed on a
      # non-Optimus system that requires the nvidia driver
      for arch in x86_64-linux-gnu i386-linux-gnu; do
        update-alternatives --force --auto ${arch}_gl_conf 2>/dev/null || true
      done

    ldconfig
    ;;
esac

#DEBHELPER#