aboutsummaryrefslogtreecommitdiffstats
path: root/find-provides.in
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-25 18:23:04 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-25 18:23:04 +0000
commita2ee6a6b2b1bb5bc44df4c91858c3f68e99f6c19 (patch)
tree6916caa3a899a86ddbd1e99e43232648b2c15e53 /find-provides.in
parentd47bdd8c207d2c6d23144844db62b00c8991a03a (diff)
downloadrpm-setup-a2ee6a6b2b1bb5bc44df4c91858c3f68e99f6c19.tar
rpm-setup-a2ee6a6b2b1bb5bc44df4c91858c3f68e99f6c19.tar.gz
rpm-setup-a2ee6a6b2b1bb5bc44df4c91858c3f68e99f6c19.tar.bz2
rpm-setup-a2ee6a6b2b1bb5bc44df4c91858c3f68e99f6c19.tar.xz
rpm-setup-a2ee6a6b2b1bb5bc44df4c91858c3f68e99f6c19.zip
add automatic kmod provides (based on work from Danny Tholen)
Diffstat (limited to 'find-provides.in')
-rwxr-xr-xfind-provides.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/find-provides.in b/find-provides.in
index 105af38..d45d44a 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -64,6 +64,11 @@ done | sort -u
echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/php.prov | sort -u
#
+# --- Kernel modules.
+[ -x @RPMVENDORDIR@/php.prov ] &&
+ echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/kmod.prov | sort -u
+
+#
# --- Pkgconfig deps
[ -x @RPMVENDORDIR@/pkgconfigdeps.sh ] &&
echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/pkgconfigdeps.sh -P | sort -u