Skip to content

Commit

Permalink
small fix of dependencies check
Browse files Browse the repository at this point in the history
  • Loading branch information
lekron42 authored Sep 2, 2021
1 parent 3c24601 commit a9b824e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samcheck
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# -------------------------------------
# Helper script for samloader on Termux
# Github: lekron42
# Version: v1.01
# Version: v1.03
# -------------------------------------

show_usage() {
Expand Down Expand Up @@ -56,7 +56,7 @@ fi
i_python=$(pkg list-installed "python" 2> /dev/null | grep -c "installed")
i_git=$(pkg list-installed "git" 2> /dev/null | grep -c "installed")

if [ "$i_python" -eq 0 ] && [ "$i_python" -eq 0 ]; then
if [ "$i_python" -eq 0 ] && [ "$i_git" -eq 0 ]; then
echo "Python and Git are not installed but required.."
read -p "Install now? (y/N) " r_pg
case "$r_pg" in
Expand Down

0 comments on commit a9b824e

Please sign in to comment.