[PATCH] Bug 106217 - rm hidden file .nvidia_new_installed
ogasawara
leann at ubuntu.com
Sat Oct 20 01:52:10 UTC 2007
Hi All,
I took a stab at making a patch for the following bug report regarding a
file not being removed when switching from
nvidia-glx-new/nvidia-glx-legacy to nvidia-glx.
https://bugs.edge.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.22/+bug/106217
If someone could verify this is correct that would be great. Thanks!
Leann
--- linux-restricted-modules-2.6.22-2.6.22.4_orig/debian/nvidia-glx.prerm.in 2007-10-19 18:16:04.000000000 -0700
+++ linux-restricted-modules-2.6.22-2.6.22.4/debian/nvidia-glx.prerm.in 2007-10-19 18:18:08.000000000 -0700
@@ -24,6 +24,10 @@
rm -f /lib/linux-restricted-modules/.nvidia_legacy_installed
rmdir /lib/linux-restricted-modules 2>/dev/null || true
fi
+ if [ -n "@@NV_ALT@@" ]; then
+ rm -f /lib/linux-restricted-modules/.nvidia_new_installed
+ rmdir /lib/linux-restricted-modules 2>/dev/null || true
+ fi
;;
failed-upgrade)
;;
More information about the kernel-team
mailing list