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.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/pear/scripts/pearcmd-remote-list.php b/pear/scripts/pearcmd-remote-list.php
deleted file mode 100644
index c9db676745..0000000000
--- a/pear/scripts/pearcmd-remote-list.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-$remote = new PEAR_Remote($config);
-$result = $remote->call('package.listAll', 1);
-$i = $j = 0;
-
-if (PEAR::isError($result)) {
- die("\n\n Error while executing command!\n\n");
-}
-
-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", $package,
- $info['stable'], $info['lead'], $info['category']);
-}
-
-?> \ No newline at end of file