general fixes

fixed error `[[ not found`
edited readme to be more helpful
This commit is contained in:
Ravengal
2024-08-06 14:33:54 +02:00
committed by GitHub
parent 0c38ed87f4
commit 41ae039348
2 changed files with 10 additions and 3 deletions

View File

@@ -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!

View File

@@ -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;