From 3a4a59d2f4b3ef3a79bbc467e67e212f69bf9d24 Mon Sep 17 00:00:00 2001 From: Ulrich Hornung Date: Wed, 24 Jan 2024 22:34:46 +0100 Subject: [PATCH] force mirror --- util/android-commands.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/android-commands.sh b/util/android-commands.sh index 652e3d992bf..943fcc5240f 100755 --- a/util/android-commands.sh +++ b/util/android-commands.sh @@ -201,6 +201,8 @@ snapshot() { adb install -g "$apk" echo "Prepare and install system packages" + probe='/sdcard/sourceslist.probe' + run_termux_command "echo 'deb https://grimler.se/termux-packages-24 stable main' > \$PREFIX/etc/apt/sources.list; echo \$? > $probe" "$probe" probe='/sdcard/pkg.probe' command="'mkdir -vp ~/.cargo/bin; yes | pkg install rust binutils openssl tar -y; echo \$? > $probe'" run_termux_command "$command" "$probe" || return