Fix logic bug in talk-gentoo shit test. - dotg - Day Of The GrParazyd
HTML git clone git://bitreich.org/dotg git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dotg
DIR Log
DIR Files
DIR Refs
DIR Tags
---
DIR commit 434075b88b08881f30fa27ef64c5ee79943aebf4
DIR parent 1ea8849d4e5bfdeef00797b811388b74c67fe73c
HTML Author: parazyd <parazyd@dyne.org>
Date: Sun, 25 Feb 2018 15:29:40 +0100
Fix logic bug in talk-gentoo shit test.
Diffstat:
M act-i/talk-gentoo.dcgi | 3 ++-
M act-i/talk-gentoo.sh | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
---
DIR diff --git a/act-i/talk-gentoo.dcgi b/act-i/talk-gentoo.dcgi
@@ -10,7 +10,8 @@ map_talkgentoo
_msg "## HIPSTER AREA (HIP)"
-if [ -f "$hipsters/obese/.takingashit" ]; then
+if [ -f "$hipsters/obese/.takingashit" -o \
+ -f "$hipsters/obese/.inkitchensink" ]; then
_msg "The yoghurt did not bode well for the spaniard. He's taking a shit."
else
DIR diff --git a/act-i/talk-gentoo.sh b/act-i/talk-gentoo.sh
@@ -2,7 +2,7 @@ specific_talk_gentoo() {
item="$1"
if [ -f "$hipsters/obese/.takingashit" -o \
- "$hipsters/obese/.inkitchensink" ]; then
+ -f "$hipsters/obese/.inkitchensink" ]; then
_msg "The yoghurt did not bode well for the spaniard. He's taking a shit."
return
fi