diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-04-01 21:39:13 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-04-01 21:39:13 +0000 |
commit | 63dbfac3363d996ca49ef38294879d6b6207d6d5 (patch) | |
tree | 5d2c386101714d64bd4a63382f5cb60f605715ca | |
parent | a73fe231c3f4750d3640e5805095e37b54baa66b (diff) | |
download | rpm-setup-63dbfac3363d996ca49ef38294879d6b6207d6d5.tar rpm-setup-63dbfac3363d996ca49ef38294879d6b6207d6d5.tar.gz rpm-setup-63dbfac3363d996ca49ef38294879d6b6207d6d5.tar.bz2 rpm-setup-63dbfac3363d996ca49ef38294879d6b6207d6d5.tar.xz rpm-setup-63dbfac3363d996ca49ef38294879d6b6207d6d5.zip |
provide "kmod(module) = PACKAGE_VERSION" for dkms binary modules as well (#35074)
-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 |