From 0732c2c53ed0911c26662fc03f98fe493cf91394 Mon Sep 17 00:00:00 2001 From: Zman-1x1 Date: Sun, 26 Sep 2021 07:57:01 +0530 Subject: [PATCH] Fixed bug --- etc/scripts/hippo/hippo.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/scripts/hippo/hippo.sh b/etc/scripts/hippo/hippo.sh index b03b95f..3d06d94 100644 --- a/etc/scripts/hippo/hippo.sh +++ b/etc/scripts/hippo/hippo.sh @@ -66,9 +66,10 @@ function __verify_bin_path() BINPATH="${SHELL}" if [ -z "$BINPATH" ]; then - if [ "$BINPATH" == "/data/data/com.termux/files/*" ]; then + if [ "$BINPATH" != "/data/data/com.termux/files/*" ]; then msg "This has to be done inside termux environment" die "\$SHELL != $BINPATH" + exit 1 fi fi } @@ -238,4 +239,4 @@ if [ $# -ge 1 ]; then esac else _lauch_or_install "$@" -fi \ No newline at end of file +fi