aboutsummaryrefslogtreecommitdiffstats
path: root/php.prov
diff options
context:
space:
mode:
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";
+}