Skip to content

Commit

Permalink
autopif.sh: don't use half-baked wget-curl wrapper some ROMs include
Browse files Browse the repository at this point in the history
  • Loading branch information
osm0sis authored May 19, 2024
1 parent c7b87b9 commit 2dd7a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/autopif.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ case "$0" in
esac;
DIR=$(dirname "$(readlink -f "$DIR")");

if ! which wget >/dev/null; then
if ! which wget >/dev/null || grep -q "wget-curl" $(which wget); then
if [ -f /data/adb/magisk/busybox ]; then
wget() { /data/adb/magisk/busybox wget "$@"; }
elif [ -f /data/adb/ksu/bin/busybox ]; then
Expand Down

0 comments on commit 2dd7a17

Please sign in to comment.