diff options
| author | Cyril Brulebois <kibi@debian.org> | 2023-01-27 05:51:31 +0100 |
|---|---|---|
| committer | David Kalnischkies <david@kalnischkies.de> | 2023-01-30 00:54:48 +0100 |
| commit | 0dd4e0b4caeeb3e943a993db79c416d491c469cd (patch) | |
| tree | 7cf879de2aaf36c4ee2f50fab0ffe8c83b322b7d /apt-pkg | |
| parent | 2b3cda814176dcf4ccf92f38ce85e6b7cda0b88f (diff) | |
Teach apt-cdrom's scoring system about non-free-firmware
Closes: #1029751
Diffstat (limited to 'apt-pkg')
| -rw-r--r-- | apt-pkg/cdrom.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/cdrom.cc b/apt-pkg/cdrom.cc index aacb78bba..ea10d10ad 100644 --- a/apt-pkg/cdrom.cc +++ b/apt-pkg/cdrom.cc @@ -222,6 +222,8 @@ int pkgCdrom::Score(string Path) Res += 20; if (Path.find("/non-free/") != string::npos) Res += 20; + if (Path.find("/non-free-firmware/") != string::npos) + Res += 20; if (Path.find("/non-US/") != string::npos) Res += 20; if (Path.find("/source/") != string::npos) |
