diff options
Diffstat (limited to 'kmod.prov')
-rwxr-xr-x | kmod.prov | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |