summaryrefslogtreecommitdiffstats
path: root/checkpkgist.php
diff options
context:
space:
mode:
Diffstat (limited to 'checkpkgist.php')
-rwxr-xr-xcheckpkgist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkpkgist.php b/checkpkgist.php
index d566ba3..473bf86 100755
--- a/checkpkgist.php
+++ b/checkpkgist.php
@@ -156,7 +156,7 @@ function run($name, $rpm) {
}
$cpt = 0;
foreach($rpminfo['Providename'] as $i => $n) {
- if (preg_match('/php-composer\((.*)\)/', $n, $res)) {
+ if (preg_match('/^php-composer\((.*)\)/', $n, $res)) {
$name = $res[1];
} else {
unset($rpminfo['Providename'][$i]);