aboutsummaryrefslogtreecommitdiffstats
path: root/php.req
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2008-09-18 19:43:35 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2008-09-18 19:43:35 +0000
commit72f557a6a02c433e9e6a0a614e9394221d4cb9d4 (patch)
treea2f9baa554d8bd52e221e38051f85091221f839b /php.req
parentabf241eee6afc2eb1865bd27c523bd6df51d024a (diff)
downloadrpm-setup-72f557a6a02c433e9e6a0a614e9394221d4cb9d4.tar
rpm-setup-72f557a6a02c433e9e6a0a614e9394221d4cb9d4.tar.gz
rpm-setup-72f557a6a02c433e9e6a0a614e9394221d4cb9d4.tar.bz2
rpm-setup-72f557a6a02c433e9e6a0a614e9394221d4cb9d4.tar.xz
rpm-setup-72f557a6a02c433e9e6a0a614e9394221d4cb9d4.zip
don't add php dependencies for doc files
Diffstat (limited to 'php.req')
-rwxr-xr-xphp.req2
1 files changed, 2 insertions, 0 deletions
diff --git a/php.req b/php.req
index 1ba5cd7..af58ac1 100755
--- a/php.req
+++ b/php.req
@@ -22,6 +22,8 @@ foreach (@ARGV ? $ARGV : <> ) {
push @files, $f;
# skip non-php files
next unless ($f =~ /\.php$/);
+ # skip doc files
+ next if ($f =~ /^\/usr\/share\/doc/);
open(F, "< $f") or die;
if ($f =~ /$pear/) {