chore: fix logcli package
This commit is contained in:
parent
470a408114
commit
a15949d9dc
3 changed files with 9 additions and 1 deletions
|
@ -2,6 +2,9 @@
|
|||
arg=$1
|
||||
name=$2
|
||||
location="/usr/local/bin/${name:-$(basename "$arg")}"
|
||||
curl "$arg" | sudo tee "$location" > /dev/null
|
||||
case "$arg" in
|
||||
(*://*) curl "$arg" | sudo tee "$location" > /dev/null;;
|
||||
(*) cp "$arg" "$location";;
|
||||
esac
|
||||
sudo chmod +x "$location"
|
||||
test "$INSTALEE_VERBOSE" -lt 3 || echo "Installed $name to $location"
|
||||
|
|
5
packages/logcli/script
Normal file
5
packages/logcli/script
Normal file
|
@ -0,0 +1,5 @@
|
|||
cd /tmp
|
||||
git clone https://github.com/grafana/loki.git
|
||||
cd loki
|
||||
make logcli
|
||||
cmd/logcli/logcli
|
Loading…
Add table
Reference in a new issue