added colors and version info
This commit is contained in:
parent
f44fbf44a3
commit
27be94c83f
@ -1,10 +1,17 @@
|
||||
#!/bin/bash
|
||||
## Build v0.1
|
||||
|
||||
REPO=https://git.xoservice.nl/marcel/deploy
|
||||
GREEN='\033[0;32m'
|
||||
RED='\033[0;31m'
|
||||
NOCOL='\033[0m'
|
||||
|
||||
echo -e "${GREEN}XO Application deployment...${NOCOL}"
|
||||
echo -n
|
||||
|
||||
if [[ -z $1 ]]
|
||||
then
|
||||
echo "no package selected, exitting"
|
||||
echo "${RED}no package selected, exitting${NOCOL}"
|
||||
exit 1
|
||||
else
|
||||
bash -c "$(curl -fsSL $REPO/raw/master/$1/install.sh)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user