diff options
Diffstat (limited to 'mkmodular')
-rwxr-xr-x | mkmodular | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -201,10 +201,14 @@ EOT; function findPackages($from, $dest, $pat) { global $oldrpms; + $excl = ['php-amqplib', 'php-jsonlint', 'php-laminas-mime']; $rpms = []; foreach (glob("$from/$pat") as $file) { $info = rpminfo($file); $name = basename($file); + if (in_array($info['Name'], $excl)) { + continue; + } if (!file_exists("$dest/$name")) { if (link($file, "$dest/$name")) { $k = array_search(basename($file), $oldrpms); |