From 4f13b3d430f8da5aeafb1657597920b72f9cc272 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 30 Jul 2016 06:58:09 +0200 Subject: checkpkgist: refresh and minor fix for 'ext-foo' case --- checkpkgist/checkpkgist.json | 1 - checkpkgist/checkpkgist.php | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'checkpkgist') diff --git a/checkpkgist/checkpkgist.json b/checkpkgist/checkpkgist.json index c116260..4f8e219 100644 --- a/checkpkgist/checkpkgist.json +++ b/checkpkgist/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/checkpkgist.php b/checkpkgist/checkpkgist.php index f350fcf..482cc4d 100755 --- a/checkpkgist/checkpkgist.php +++ b/checkpkgist/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; -- cgit