From 41ae0393484c6aa1787dd55b588b69d169130400 Mon Sep 17 00:00:00 2001 From: Ravengal <132362783+ravengalqueen@users.noreply.github.com> Date: Tue, 6 Aug 2024 14:33:54 +0200 Subject: [PATCH] general fixes fixed error `[[ not found` edited readme to be more helpful --- README.md | 9 ++++++++- still_alive.sh | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d015389..cc04ac6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ -Usage: ./still_alive.sh +##Dependencies +Please download all the dependencies: +https://github.com/jhechavarria/say.sh +##Usage: +`git clone https://github.com/joeheyming/still_alive.git` +`cd still_alive` +`chmod +x still_alive.sh +`./still_alive.sh` Enjoy! diff --git a/still_alive.sh b/still_alive.sh index f7a51bd..d54f076 100644 --- a/still_alive.sh +++ b/still_alive.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash slow_type() { echo $1 | pv -qL 10; @@ -24,7 +24,7 @@ echo "" while read line; do (say -v Vicki $line &); - if [[ $line != '.' ]] + if [[ $line != . ]] then echo $line | grep 'Aperture Science' && show_file ./aperture_logo.txt; echo $line | grep -i 'black mesa' && show_file ./black_mesa_logo.txt;