]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postrm-modules
updated debian copyright format url
[debhelper.git] / autoscripts / postrm-modules
index bcacb9f5a575a9c984478fa27887c9184e2e80c1..c2577dd272d7aefc1b86f4fa9462de4446b762c3 100644 (file)
@@ -1,4 +1,3 @@
-if [ -x "`which update-modules 2>/dev/null`" ]; then
-       update-modules >/dev/null || [ "$?" = 3 ]
+if [ -e /boot/System.map-#KVERS# ]; then
+       depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
 fi
-depmod -a || true