Fixed variable names
This commit is contained in:
@@ -16,7 +16,7 @@ Exec() {
|
|||||||
install)
|
install)
|
||||||
echo -e "${GREEN}Starting installation of $1${NOCOL}"
|
echo -e "${GREEN}Starting installation of $1${NOCOL}"
|
||||||
sleep 2
|
sleep 2
|
||||||
bash -c "$(curl -fsSL $REPO/$1/install.sh)"
|
bash -c "$(curl -fsSL $CODE/$1/install.sh)"
|
||||||
exit 0;;
|
exit 0;;
|
||||||
setup)
|
setup)
|
||||||
echo -n "Git username: "
|
echo -n "Git username: "
|
||||||
@@ -26,7 +26,7 @@ Exec() {
|
|||||||
echo -e "${GREEN}Starting setup of $1${NOCOL}"
|
echo -e "${GREEN}Starting setup of $1${NOCOL}"
|
||||||
sleep 2
|
sleep 2
|
||||||
curl -u $USER:$PASS -so /tmp/$1.tmp $SECRET/$1/setup.env
|
curl -u $USER:$PASS -so /tmp/$1.tmp $SECRET/$1/setup.env
|
||||||
bash -c "$(curl -fsSL $REPO/$1/setup.sh)"
|
bash -c "$(curl -fsSL $CODE/$1/setup.sh)"
|
||||||
rm -f /tmp/$1.tmp
|
rm -f /tmp/$1.tmp
|
||||||
exit 0;;
|
exit 0;;
|
||||||
*)
|
*)
|
||||||
|
Reference in New Issue
Block a user