~ubuntu-branches/ubuntu/jaunty/nvidia-graphics-drivers-177/jaunty

« back to all changes in this revision

Viewing changes to debian/nvidia-177-kernel-source.prerm

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Milone (tseliot)
  • Date: 2008-07-08 18:50:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080708185023-ojfxd0ae9wajzuda
Tags: 177.13-0ubuntu3
* Recommends nvidia-settings instead of Suggests nvidia-settings
* Put the icon for nvidia-settings in /usr/share/pixmaps 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# Copyright (C) 2002-2005 Flavio Stanchina
 
3
# Copyright (C) 2005-2006 Aric Cyr
 
4
# Copyright (C) 2007 Mario Limonciello
 
5
# Copyright (C) 2007 Alberto Milone
 
6
 
 
7
#DEBHELPER#
 
8
 
 
9
PKGVER=`dpkg-query -W -f='${Version}' nvidia-177-kernel-source | awk -F "-" '{print $1}'`
 
10
PKGVER=${PKGVER#*:}
 
11
 
 
12
case "$1" in
 
13
    remove)
 
14
                echo "Removing all DKMS Modules"
 
15
                dkms remove -m nvidia -v $PKGVER --all > /dev/null
 
16
                echo "Done."
 
17
        ;;
 
18
esac
 
19
 
 
20