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
9
#CVERSION=`dpkg-query -W -f='${Version}' nvidia-new-kernel-source | awk -F "-" '{print $1}'`
10
#The line above will be used instead of the following as soon as the packages are no longer epoched
11
PKGVER=`dpkg-query -W -f='${Version}' nvidia-new-kernel-source-envy | awk -F "-" '{print $1}'`
17
echo "Removing all DKMS Modules"
18
dkms remove -m nvidia -v $CVERSION --all > /dev/null