You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When yq is found in /bin, install-man-page.sh creates /share/man/man1 and installs yq.1 there.
Version of yq: 4.44.6
Operating system: linux
Installed via: extracting yq_linux_amd64.tar.gz
Command ./install-man-page.sh
Actual behavior
creates /share/man/man1 and installs yq.1 there.
Expected behavior
installs yq.1 to /usr/share/man/man1
Additional context
Often /bin is a symbolic link to usr/bin and /bin is in PATH before /usr/bin. If you install yq to /usr/bin, then command -v yq finds yq in /bin
Fix
The script should include something like export PATH=/usr/bin:$PATH
The text was updated successfully, but these errors were encountered:
Describe the bug
When
yq
is found in/bin
,install-man-page.sh
creates/share/man/man1
and installsyq.1
there.Version of yq: 4.44.6
Operating system: linux
Installed via: extracting yq_linux_amd64.tar.gz
Command
./install-man-page.sh
Actual behavior
creates
/share/man/man1
and installsyq.1
there.Expected behavior
installs
yq.1
to/usr/share/man/man1
Additional context
Often
/bin
is a symbolic link tousr/bin
and/bin
is inPATH
before/usr/bin
. If you installyq
to/usr/bin
, thencommand -v yq
findsyq
in/bin
Fix
The script should include something like
export PATH=/usr/bin:$PATH
The text was updated successfully, but these errors were encountered: