summaryrefslogtreecommitdiff
path: root/pear/scripts/pearcmd-remote-list.php
diff options
context:
space:
mode:
Diffstat (limited to 'pear/scripts/pearcmd-remote-list.php')
-rw-r--r--pear/scripts/pearcmd-remote-list.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/pear/scripts/pearcmd-remote-list.php b/pear/scripts/pearcmd-remote-list.php
deleted file mode 100644
index d30a4679fe..0000000000
--- a/pear/scripts/pearcmd-remote-list.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-$remote = new PEAR_Remote($config);
-$result = $remote->call('package.listAll', 1);
-$i = $j = 0;
-heading("Available packages");
-foreach ($result as $package => $info) {
- if ($i++ % 20 == 0) {
- if ($j++ > 0) {
- print "\n";
- }
- printf("%-20s %-10s %-15s %s\n",
- "Package", "Stable", "Lead", "Category");
- print str_repeat("-", 75)."\n";
- }
- if (empty($info['stable'])) {
- $info['stable'] = '(none)';
- }
- $stable = (string)$info['stable'];
- printf("%-20s %-10s %-15s %s\n", $info['name'],
- $info['stable'], $info['lead'], $info['category']);
-}
-
-?> \ No newline at end of file