pull/10/head
Hunter Long 2018-06-09 18:39:19 -07:00
parent a5c43f6957
commit decd9a2fc5
2 changed files with 24 additions and 0 deletions

1
docs/index.html Normal file
View File

@ -0,0 +1 @@
ok

23
docs/install.sh Executable file
View File

@ -0,0 +1,23 @@
#!/usr/bin/env bash
OS=osx
ARCH=x64
if [ `getconf LONG_BIT` = "64" ]
then
ARCH=x64
else
ARCH=x32
fi
unameOut="$(uname -s)"
case "${unameOut}" in
Linux*) OS=linux;;
Darwin*) OS=osx;;
CYGWIN*) OS=windows;;
MINGW*) OS=windows;;
*) OS="UNKNOWN:${unameOut}"
esac
echo " Installing for $OS $ARCH..."
FILE="https://repo.com/tag/statup-$OS-$ARCH"
curl -sS $FILE -o statup
chmod +x statup
mv statup /usr/local/bin/
echo " statup has been successfully installed!"