aboutsummaryrefslogtreecommitdiffstats
path: root/php.prov
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2005-08-07 08:00:54 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2005-08-07 08:00:54 +0000
commitc59084bb06e91ea858d80262ef47dc9c54e14b82 (patch)
tree10d9f837e6eee91de1dce4359f4ea03e9ab78e96 /php.prov
parentba0b7b7637e29319ddfb807dfafed74be97ecb8b (diff)
downloadrpm-setup-c59084bb06e91ea858d80262ef47dc9c54e14b82.tar
rpm-setup-c59084bb06e91ea858d80262ef47dc9c54e14b82.tar.gz
rpm-setup-c59084bb06e91ea858d80262ef47dc9c54e14b82.tar.bz2
rpm-setup-c59084bb06e91ea858d80262ef47dc9c54e14b82.tar.xz
rpm-setup-c59084bb06e91ea858d80262ef47dc9c54e14b82.zip
- add php-pear auto req/prov from pld (suggested by oden)
Diffstat (limited to 'php.prov')
-rwxr-xr-xphp.prov20
1 files changed, 20 insertions, 0 deletions
diff --git a/php.prov b/php.prov
new file mode 100755
index 0000000..a094cba
--- /dev/null
+++ b/php.prov
@@ -0,0 +1,20 @@
+#!/usr/bin/perl
+#####################################################################
+# #
+# Check system dependences between php-pear modules #
+# #
+# Paweł Gołaszewski <blues@ds.pg.gda.pl> #
+# Michał Moskal <malekith@pld-linux.org> #
+# ------------------------------------------------------------------#
+# TODO: #
+#####################################################################
+
+$pear = "/usr/share/pear";
+
+foreach (@ARGV ? @ARGV : <>) {
+ chomp;
+ $f = $_;
+ next unless ($f =~ /$pear.*\.php$/);
+ $f =~ s/.*$pear\///;
+ print "pear($f)\n";
+}