Commit c833438
ctl: only install dnf4 if it is missing
Tiny tweak, we only need to install dnf4 when its actually missing.
This is also the only piece in the code that requires root right
now (AFAICT) so dropping it has the extra benefit that we can run
as non-root again.1 parent 6ed4920 commit c833438
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | | - | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
0 commit comments