Skip to content

Commit

Permalink
rpmmd: make dnf-json executable
Browse files Browse the repository at this point in the history
This enables us to put it anywhere in `PATH`, because we don't call it
through `python3` anymore.
  • Loading branch information
larskarlitski authored and teg committed Nov 11, 2019
1 parent 77c2ab0 commit d05673a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file modified dnf-json
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion internal/rpmmd/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d05673a

Please sign in to comment.