rpmmd: make dnf-json executable
This enables us to put it anywhere in `PATH`, because we don't call it through `python3` anymore.
This commit is contained in:
parent
77c2ab0e1c
commit
d05673afb1
2 changed files with 1 additions and 1 deletions
0
dnf-json
Normal file → Executable file
0
dnf-json
Normal file → Executable file
|
|
@ -48,7 +48,7 @@ func runDNF(command string, arguments interface{}, result interface{}) error {
|
|||
arguments,
|
||||
}
|
||||
|
||||
cmd := exec.Command("python3", "dnf-json")
|
||||
cmd := exec.Command("dnf-json")
|
||||
|
||||
stdin, err := cmd.StdinPipe()
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue