diff options
author | Remi Collet <remi@remirepo.net> | 2020-04-02 08:24:00 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-04-02 08:24:00 +0200 |
commit | b6ae1aad024a028ed1ba9f838cde2785905e300b (patch) | |
tree | d6283e6670879ac474f0a993863d837476bfabf9 | |
parent | 6cfbc09f007b96c18fd1d394c0271dbf02d10661 (diff) |
filter some base packages
-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); |