From b31fcda2414128ef7c03f48d764100a64066a11d Mon Sep 17 00:00:00 2001 From: Till Maas Date: Thu, 6 Feb 2014 10:38:37 +0100 Subject: Adjust DEFAULT-PEAR URL --- cnucnu/__init__.py | 2 +- cnucnu/tests/aliases_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cnucnu/__init__.py b/cnucnu/__init__.py index 2ed5c5a..9b8537e 100644 --- a/cnucnu/__init__.py +++ b/cnucnu/__init__.py @@ -77,7 +77,7 @@ ALIASES = { "PEAR-DEFAULT": { "name_modifiers": [restore_underscore], "prefix": "php-pear-", - "url": "http://pear.php.net/package/{name}/download", + "url": "http://pear.php.net/package/{name}/download/All", }, "PECL-DEFAULT": { "name_modifiers": [restore_underscore], diff --git a/cnucnu/tests/aliases_test.py b/cnucnu/tests/aliases_test.py index dbe5e38..da5bfbd 100755 --- a/cnucnu/tests/aliases_test.py +++ b/cnucnu/tests/aliases_test.py @@ -68,7 +68,7 @@ class AliasTest(unittest.TestCase): url = unalias("php-pear-Test-Case", "PEAR-DEFAULT", "url") self.assertEqual( url, - "http://pear.php.net/package/Test_Case/download" + "http://pear.php.net/package/Test_Case/download/All" ) -- cgit