summaryrefslogtreecommitdiffstats
path: root/checkpkgist/checkpkgist.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-07-30 06:58:09 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-30 06:58:09 +0200
commit4f13b3d430f8da5aeafb1657597920b72f9cc272 (patch)
treec705a1e63bec993784a386ebe33d981464cce19c /checkpkgist/checkpkgist.php
parent44d6c68d6f84c7fa5595ea4fc449aa8898ca899c (diff)
checkpkgist: refresh and minor fix for 'ext-foo' case
Diffstat (limited to 'checkpkgist/checkpkgist.php')
-rwxr-xr-xcheckpkgist/checkpkgist.php4
1 files changed, 4 insertions, 0 deletions
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;