added colors and version info

This commit is contained in:
Marcel Stangenberger 2025-04-11 19:15:44 +00:00
parent f44fbf44a3
commit 27be94c83f

View File

@ -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)"