(simatec) fix update.sh
This commit is contained in:
parent
97085b79e4
commit
884882c9fe
1 changed files with 16 additions and 16 deletions
32
update.sh
32
update.sh
|
@ -2,22 +2,22 @@
|
||||||
|
|
||||||
# Colors
|
# Colors
|
||||||
if [ -z ${BASH_SOURCE} ]; then
|
if [ -z ${BASH_SOURCE} ]; then
|
||||||
blue=`echo "\e[1m\e[34m"`
|
blue=`echo "\e[1m\e[34m"`
|
||||||
green=`echo "\e[1m\e[32m"`
|
green=`echo "\e[1m\e[32m"`
|
||||||
greenBold=`echo "\e[1m\e[1;32m"`
|
greenBold=`echo "\e[1m\e[1;32m"`
|
||||||
redBold=`echo "\e[1m\e[1;31m"`
|
redBold=`echo "\e[1m\e[1;31m"`
|
||||||
red=`echo "\e[1m\e[31m"`
|
red=`echo "\e[1m\e[31m"`
|
||||||
purple=`echo "\e[1m\e[35m"`
|
purple=`echo "\e[1m\e[35m"`
|
||||||
bold=`echo "\e[1m"`
|
bold=`echo "\e[1m"`
|
||||||
normal=`echo "\e[0m"`
|
normal=`echo "\e[0m"`
|
||||||
else
|
else
|
||||||
blue=`echo -e "\e[1m\e[34m"`
|
blue=`echo -e "\e[1m\e[34m"`
|
||||||
green=`echo -e "\e[1m\e[32m"`
|
green=`echo -e "\e[1m\e[32m"`
|
||||||
greenBold=`echo -e "\e[1m\e[1;32m"`
|
greenBold=`echo -e "\e[1m\e[1;32m"`
|
||||||
redBold=`echo -e "\e[1m\e[1;31m"`
|
redBold=`echo -e "\e[1m\e[1;31m"`
|
||||||
puple=`echo -e "\e[1m\e[35m"`
|
purple=`echo -e "\e[1m\e[35m"`
|
||||||
bold=`echo -e "\e[1m"`
|
bold=`echo -e "\e[1m"`
|
||||||
normal=`echo -en "\e[0m"`
|
normal=`echo -en "\e[0m"`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
HLINE="=================================================================="
|
HLINE="=================================================================="
|
||||||
|
@ -92,7 +92,7 @@ echo "${purple}****** Download Update files piler-ssl.yml ******"
|
||||||
curl -OL https://raw.githubusercontent.com/simatec/piler-docker/main/config/piler-ssl.yml
|
curl -OL https://raw.githubusercontent.com/simatec/piler-docker/main/config/piler-ssl.yml
|
||||||
echo "${purple}${HLINE}${normal}"
|
echo "${purple}${HLINE}${normal}"
|
||||||
echo
|
echo
|
||||||
|
nano
|
||||||
# old docker stop
|
# old docker stop
|
||||||
cd $installPth
|
cd $installPth
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue