Support local managment for embedded agent on nginx

This commit is contained in:
davidga
2022-11-13 13:29:35 +02:00
parent 8b01396eca
commit 1b4b7d17e0
406 changed files with 37980 additions and 35 deletions

14
external/yq/scripts/install-man-page.sh vendored Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
my_path="$(command -v yq)"
if [ -z "$my_path" ]; then
echo "'yq' wasn't found in your PATH, so we don't know where to put the man pages."
echo "Please update your PATH to include yq, and run this script again."
exit 1
fi
# ex: ~/.local/bin/yq => ~/.local/
my_prefix="$(dirname "$(dirname "$(command -v yq)")")"
mkdir -p "$my_prefix/share/man/man1/"
cp yq.1 "$my_prefix/share/man/man1/"