Commit 5b78cf7
committed
source: allow passing all apt::keyring attributes
This uses the same logic as apt::keyring itself, and what I think would
be the least surprising logic:
1. Passing both `dir` and `filename`: you have provided the full path,
so that is used in the signed-by setting.
2. Passing just the `filename` means you want to use the default dir,
/etc/apt/keyrings.
3. Passing just the `dir` means you want to use the given directory, and
the `name` attribute as the filename.
4. Passing only `name` means use `name` with the default dir.1 parent 094bfdb commit 5b78cf7
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
189 | 190 | | |
| 191 | + | |
190 | 192 | | |
191 | 193 | | |
192 | | - | |
193 | | - | |
194 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
195 | 201 | | |
196 | | - | |
| 202 | + | |
197 | 203 | | |
198 | 204 | | |
199 | 205 | | |
| |||
0 commit comments