diff --git a/util/android-commands.sh b/util/android-commands.sh index 652e3d992bf..9d4c4ba872d 100755 --- a/util/android-commands.sh +++ b/util/android-commands.sh @@ -183,7 +183,7 @@ init() { termux="$3" # shellcheck disable=SC2015 - wget "https://github.com/termux/termux-app/releases/download/${termux}/termux-app_${termux}+github-debug_${arch}.apk" && + wget -nv "https://github.com/termux/termux-app/releases/download/${termux}/termux-app_${termux}+github-debug_${arch}.apk" && snapshot "termux-app_${termux}+github-debug_${arch}.apk" && hash_rustc && exit_termux && @@ -202,7 +202,7 @@ snapshot() { echo "Prepare and install system packages" probe='/sdcard/pkg.probe' - command="'mkdir -vp ~/.cargo/bin; yes | pkg install rust binutils openssl tar -y; echo \$? > $probe'" + command="'mkdir -vp ~/.cargo/bin; ls -ltrh /data/data/com.termux/files/usr/etc/ ; cat /data/data/com.termux/files/usr/etc/apt/sources.list; which termux-change-repo ; yes | pkg update; yes | pkg install rust binutils openssl tar -y; echo \$? > $probe'" run_termux_command "$command" "$probe" || return echo "Installing cargo-nextest"