From: xf0r3m Date: Thu, 28 Sep 2023 15:37:49 +0000 (+0200) Subject: Poprawienie adresu repozytorium, aby wskazywało na priv. Poprawienie formatowania... X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=80568ff149c855ae80f81289d2be126a68d1848e;p=immudex-testing.git Poprawienie adresu repozytorium, aby wskazywało na priv. Poprawienie formatowania kodu funckji 'ascii_colors' --- diff --git a/tools/library.sh b/tools/library.sh index 8c46579..252fe10 100755 --- a/tools/library.sh +++ b/tools/library.sh @@ -24,7 +24,7 @@ function check_distro_commit() { if [ -d /tmp/immudex-testing ]; then $(cd /tmp/immudex-testing && git pull -q); else - git clone -q https://github.com/xf0r3m/immudex-testing /tmp/immudex-testing; + git clone -q https://git.morketsmerke.org/git/immudex-testing /tmp/immudex-testing; fi latestVersion=$(cd /tmp/immudex-testing && git log --pretty=oneline | head -1 | cut -d " " -f 1); if [ "$1" ] && [ "$1" == "--print" ]; then @@ -42,16 +42,16 @@ function check_distro_commit() { function ascii_colors() { -BLUE="\e[1;94m"; -RED="\e[1;91m"; -CYAN="\e[1;96m"; -ENDCOLOR="\e[0m"; + BLUE="\e[1;94m"; + RED="\e[1;91m"; + CYAN="\e[1;96m"; + ENDCOLOR="\e[0m"; -echo -e "${BLUE} _ ${RED} _ ${CYAN} ${ENDCOLOR}"; -echo -e "${BLUE}(_)_ __ ___ _ __ ___ _ _ ${RED} __| | ___${CYAN}__ __${ENDCOLOR}"; -echo -e "${BLUE}| | '_ \` _ \| '_ \` _ \| | | |${RED}/ _\` |/ _ \\\\${CYAN} \/ /${ENDCOLOR}"; -echo -e "${BLUE}| | | | | | | | | | | | |_| |${RED} (_| | __/${CYAN}> < ${ENDCOLOR}"; -echo -e "${BLUE}|_|_| |_| |_|_| |_| |_|\__,_|${RED}\__,_|\___/${CYAN}_/\_\\"; -echo -e "${ENDCOLOR}"; + echo -e "${BLUE} _ ${RED} _ ${CYAN} ${ENDCOLOR}"; + echo -e "${BLUE}(_)_ __ ___ _ __ ___ _ _ ${RED} __| | ___${CYAN}__ __${ENDCOLOR}"; + echo -e "${BLUE}| | '_ \` _ \| '_ \` _ \| | | |${RED}/ _\` |/ _ \\\\${CYAN} \/ /${ENDCOLOR}"; + echo -e "${BLUE}| | | | | | | | | | | | |_| |${RED} (_| | __/${CYAN}> < ${ENDCOLOR}"; + echo -e "${BLUE}|_|_| |_| |_|_| |_| |_|\__,_|${RED}\__,_|\___/${CYAN}_/\_\\"; + echo -e "${ENDCOLOR}"; }