diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-09-04 17:42:23 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-09-04 17:42:23 +0000 |
commit | eb113e88fddd49d75d1a1121d05cc038d53c32ab (patch) | |
tree | cf694a38464f74658ede1442b284d0c69830bf15 /kmod.prov | |
parent | e96f116db68a31a26548af32e68e9d04815d838a (diff) | |
download | rpm-setup-eb113e88fddd49d75d1a1121d05cc038d53c32ab.tar rpm-setup-eb113e88fddd49d75d1a1121d05cc038d53c32ab.tar.gz rpm-setup-eb113e88fddd49d75d1a1121d05cc038d53c32ab.tar.bz2 rpm-setup-eb113e88fddd49d75d1a1121d05cc038d53c32ab.tar.xz rpm-setup-eb113e88fddd49d75d1a1121d05cc038d53c32ab.zip |
do not process empty dkms list
Diffstat (limited to 'kmod.prov')
-rwxr-xr-x | kmod.prov | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ if (/^srcversion:/) { } ' dkmslist=$(echo "$provideslist" | egrep '/usr/src/[^/]*/dkms.conf$') -echo $dkmslist | while read d; do +[ -n "$dkmslist" ] && echo $dkmslist | while read d; do BUILT=`sed -rne 's/^BUILT_MODULE_NAME\[[0-9]+\]="?([^"]+)"?$/kmod(\1)/;T;p' $d` if [ -n "$BUILT" ]; then echo "$BUILT" |