aboutsummaryrefslogtreecommitdiffstats
path: root/kmod.prov
diff options
context:
space:
mode:
Diffstat (limited to 'kmod.prov')
-rwxr-xr-xkmod.prov2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmod.prov b/kmod.prov
index f66af2b..27f9115 100755
--- a/kmod.prov
+++ b/kmod.prov
@@ -11,7 +11,7 @@ if (/^vermagic:/) {
undef $name; undef $ver;
}
'
-dkmslist=$(echo "$provideslist" | egrep '/usr/src/[^/]*/dkms.conf$')
+dkmslist=$(echo "$provideslist" | egrep '(/var/lib/dkms-binary/[^/]+/[^/]+|/usr/src)/[^/]+/dkms.conf$')
[ -n "$dkmslist" ] && for d in $dkmslist; do
VERSION=`sed -rne 's/^PACKAGE_VERSION="?([^"]+)"?$/\1/;T;p' $d`
[ -z "$VERSION" ] && continue