~ubuntu-branches/ubuntu/maverick/xserver-xorg-video-intel/maverick

« back to all changes in this revision

Viewing changes to debian/xserver-xorg-video-intel.prerm.in

  • Committer: Steve Langasek
  • Date: 2010-04-15 10:32:45 UTC
  • Revision ID: vorlon@debian.org-20100415103245-x4uiyrummtobt18l
Drop /etc/modprobe.d/i915-kms.conf; in the best case it's redundant
because KMS is on by default in the Ubuntu kernel, in the worst case it
breaks our ability to forcibly disable KMS when there's a problem.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
set -e
4
 
 
5
 
THIS_SCRIPT=prerm
6
 
THIS_PACKAGE=xserver-xorg-video-intel
7
 
 
8
 
#INCLUDE_SHELL_LIB#
9
 
 
10
 
case "$1" in
11
 
  upgrade)
12
 
  if dpkg --compare-versions "$2" lt-nl 2:2.9.1; then
13
 
    # downgrading to a version without kms
14
 
    remove_conffile_lookup $THIS_PACKAGE /etc/modprobe.d/i915-kms.conf
15
 
  fi
16
 
  ;;
17
 
esac
18
 
 
19
 
#DEBHELPER#
20
 
 
21
 
# vim:set ai et sw=2 ts=2 tw=80: