diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-07-30 06:58:09 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-07-30 06:58:09 +0200 |
commit | 974e4b31a9c750c1e5bd0051cf066d68250b1d08 (patch) | |
tree | cffad5450b0e94d20208784065900601de88a074 | |
parent | 8c2e6b45b72bed3e6177ef810013a7fc880ce94e (diff) |
checkpkgist: refresh and minor fix for 'ext-foo' case
-rw-r--r-- | checkpkgist.json | 1 | ||||
-rwxr-xr-x | checkpkgist.php | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/checkpkgist.json b/checkpkgist.json index c116260..4f8e219 100644 --- a/checkpkgist.json +++ b/checkpkgist.json @@ -10,7 +10,6 @@ "php-tecnickcom-tc-lib-pdf-page": "tecnickcom\/tc-lib-pdf-page", "php-tecnickcom-tc-lib-unicode": "tecnickcom\/tc-lib-unicode", "php-tecnickcom-tc-lib-unicode-data": "tecnickcom\/tc-lib-unicode-data", - "php-alcaeus-mongo-php-adapter": "alcaeus\/mongo-php-adapter", "php-tedivm-jshrink": "tedivm\/jshrink", "php-phine-path": "phine\/path", "php-phine-exception": "phine\/exception", diff --git a/checkpkgist.php b/checkpkgist.php index f350fcf..482cc4d 100755 --- a/checkpkgist.php +++ b/checkpkgist.php @@ -71,6 +71,10 @@ function run($name, $rpm) { if (in_array($name, ['znerol/php-stringprep', 'psr/http-message-implementation'])) { return; } + if (!strpos($name, '/')) { + // e.g. ext-foo + return; + } list($owner, $library) = explode('/', $name, 2); if (in_array($owner, ['horde', 'kolab'])) { return; |