blob: a0f26751827da9a17f88024750539be29c2787ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/env bash
set -e
os=$(uname -s | tr "[:upper:]" "[:lower:]")
case $os in
linux)
os="lnx"
;;
darwin)
os="mac"
;;
*)
printf "%s doesn't supported by bash installer" "$os"
exit 1
;;
esac
version="v0.1.12"
curl -L -o svls-$version-x86_64-$os.zip "https://github.com/dalance/svls/releases/download/v0.1.12/svls-$version-x86_64-$os.zip"
unzip svls-$version-x86_64-$os.zip
rm svls-$version-x86_64-$os.zip
|