#!/bin/bash
-/usr/bin/figlet immudex;
+#/usr/bin/figlet immudex;
+source /usr/local/bin/library.sh;
+ascii_colors;
echo;
echo "Today is: $(date)";
echo;
if [ -d /tmp/immudex-testing ]; then
$(cd /tmp/immudex-testing && git pull -q);
else
- git clone -q https://git.morketsmerke.org/git/immudex-testing /tmp/immudex-testing;
+ git clone -q https://github.com/xf0r3m/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
return 255;
fi
}
+
+function ascii_colors() {
+
+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}";
+
+}