Skip to content

How to use different bindir depending on package format? #659

Closed Answered by djgilcrease
thediveo asked this question in Q&A
Discussion options

You must be logged in to vote
  contents:
  - src: './dist/foo_{{ .Os }}_{{ .Arch }}' # check your ./dist to see the paths et al
    dst: /usr/lib/wireshark/extcap/foo
    packager: apk
  - src: './dist/foo_{{ .Os }}_{{ .Arch }}' # check your ./dist to see the paths et al
    dst: /usr/lib/x86_64-linux-gnu/wireshark/extcap/foo
    packager: deb
  - src: './dist/foo_{{ .Os }}_{{ .Arch }}' # check your ./dist to see the paths et al
    dst: /usr/lib/wireshark/extcap/foo
    packager: rpm

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by caarlos0
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants