summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-03-05 12:23:51 +0100
committerRemi Collet <remi@remirepo.net>2018-03-05 12:23:51 +0100
commit77753446b67e3c8e37a72d37c8c18805464b7216 (patch)
tree4a3fb9ad394d9270ac05d5d419bf16bc305afbf6
parentac698ee3030061bb772246090010c0f12b275411 (diff)
user lower case for packagist request
-rwxr-xr-xcheckpkgist.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/checkpkgist.php b/checkpkgist.php
index 2b8c3d7..4ed6531 100755
--- a/checkpkgist.php
+++ b/checkpkgist.php
@@ -112,6 +112,7 @@ function getMax($name, $rpm) {
function run($name, $rpm) {
global $quiet, $verb, $client;
+ $name = strtolower($name);
$len = 50;
$limit = getMax($name, $rpm);