Skip to content

Commit 45dec58

Browse files
committed
update install.sh
1 parent 77cfca7 commit 45dec58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rest='\033[0m'
1212

1313
#!/bin/bash
1414

15-
if [ -n "$(command -v termux-chroot)" ] && [ -n "$(command -v jq)" ]; then
15+
if [ -d "$HOME/.termux" ] && [ -z "$(command -v jq)" ]; then
1616
echo "Running update & upgrade ..."
1717
pkg update -y
1818
pkg upgrade -y

0 commit comments

Comments
 (0)