diff options
Diffstat (limited to 'checkpkgist.php')
-rwxr-xr-x | checkpkgist.php | 2 |
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]); |