summaryrefslogtreecommitdiff
path: root/pear/scripts/pearcmd-list.php
diff options
context:
space:
mode:
Diffstat (limited to 'pear/scripts/pearcmd-list.php')
-rw-r--r--pear/scripts/pearcmd-list.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/pear/scripts/pearcmd-list.php b/pear/scripts/pearcmd-list.php
deleted file mode 100644
index 030c0b2c98..0000000000
--- a/pear/scripts/pearcmd-list.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-$reg = new PEAR_Registry;
-$installed = $reg->packageInfo();
-$i = $j = 0;
-heading("Installed packages:");
-foreach ($installed as $package) {
- if ($i++ % 20 == 0) {
- if ($j++ > 0) {
- print "\n";
- }
- printf("%-20s %-10s %s\n",
- "Package", "Version", "State");
- print str_repeat("-", 75)."\n";
- }
- printf("%-20s %-10s %s\n", $package['package'],
- $package['version'], $package['release_state']);
-}
-
-?>