From 68e4b53ea17fd0ac68cb8ccc267548bfae44936b Mon Sep 17 00:00:00 2001 From: Geoff Murphy Date: Tue, 13 May 2025 14:40:36 +1000 Subject: [PATCH] :bug: Fixed logo path error and added lolcat dependancy --- setup.sh | 3 +++ src/fake_shell.sh | 7 ++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.sh b/setup.sh index 49f5368..4287467 100644 --- a/setup.sh +++ b/setup.sh @@ -50,6 +50,9 @@ if [ ! "$(command -v figlet)" ]; then FAKE_DEP="$FAKE_DEP figlet"; fi if [ ! "$(command -v rsync)" ]; then FAKE_DEP="$FAKE_DEP rsync"; fi if [ ! "$(command -v sudo)" ]; then FAKE_DEP="$FAKE_DEP sudo"; fi if [ ! "$(command -v vim)" ]; then FAKE_DEP="$FAKE_DEP vim"; fi +if [ ! "$(command -v apk)" ] && [ ! "$(command -v lolcat)" ];then + FAKE_DEP="$FAKE_DEP lolcat" +fi #--------[ FAKE//OS Install Dependencies ]--------# diff --git a/src/fake_shell.sh b/src/fake_shell.sh index cc585bd..9101e36 100644 --- a/src/fake_shell.sh +++ b/src/fake_shell.sh @@ -38,13 +38,10 @@ fi #--------[ Login Display ]--------# echo "" if [ "$(command -v lolcat)" ]; then - cat $FAKE_PATH/assets/logos/logo_full.txt | $FCOLGRAD + cat $FAKE_PATH/assets/logo_full.txt | $FCOLGRAD else - cat $FAKE_PATH/assets/logos/logo_full.txt + cat $FAKE_PATH/assets/logo_full.txt fi - -echo "" -cat $FAKE_PATH/assets/logo_full.txt echo "" echo -e "${FCOL1}user:${FCOL0} $(whoami) ${FCOL2}login:${FCOL0} $ENV_LOGIN ${FCOL3}system:${FCOL0} $ENV_ARCH $ENV_DISTRO" echo ""