1 #PACKAGE_VERSION variable will changed by PKGBUILD
9 echo ">>> Running DKMS: Build module and install <<<"
10 echo ">>> -------------------------------------- <<<"
15 /usr/sbin/dkms add -m nvidia_bl -v PACKAGE_VERSION
16 /usr/sbin/dkms build -m nvidia_bl -v PACKAGE_VERSION
17 /usr/sbin/dkms install -m nvidia_bl -v PACKAGE_VERSION
23 echo "Remember to add nvidia_bl in you MODULES=() array in rc.conf"
27 # arg 1: the new package version
28 # arg 2: the old package version
32 echo ">>> Running DKMS: Uninstalling previous module version before upgrade <<<"
33 echo ">>> ----------------------------------------------------------------- <<<"
37 /usr/sbin/dkms remove -m nvidia_bl -v OLD_PACKAGE_VERSION --all
41 # arg 1: the new package version
42 # arg 2: the old package version
46 echo ">>> Running DKMS: Build module and install <<<"
47 echo ">>> -------------------------------------- <<<"
51 /usr/sbin/dkms add -m nvidia_bl -v PACKAGE_VERSION
52 /usr/sbin/dkms build -m nvidia_bl -v PACKAGE_VERSION
53 /usr/sbin/dkms install -m nvidia_bl -v PACKAGE_VERSION
57 # arg 1: the old package version
61 echo ">>> Running DKMS: Uninstalling module <<<"
62 echo ">>> --------------------------------- <<<"
66 /usr/sbin/dkms remove -m nvidia_bl -v PACKAGE_VERSION --all