Commit b9dbc5c
committed
cmd-build-with-buildah: clean up overrides repo metadata
If there are no rpms then let's clean up the repo metadata if
it exists which should prevent cosmetic warts like:
```
Updating and loading repositories:
overrides ???% | 0.0 B/s | -1.0 B | ?
>>> Curl error (37): Could not read a file:// file for file:///run/src/overrides
>>> Usable URL not found
```
Or fatal ones like:
```
error: Installing packages: importing RPMs: failed to open /run/src/overrides/rpm/systemd-258~rc3-2.fc44.x86_64.rpm
```1 parent 57e8499 commit b9dbc5c
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
166 | 171 | | |
167 | 172 | | |
168 | 173 | | |
| |||
0 commit comments