Skip to content

Commit 430a380

Browse files
committed
android: update the repo before doing the install
1 parent a12dd2e commit 430a380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/android-commands.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ snapshot() {
202202

203203
echo "Prepare and install system packages"
204204
probe='/sdcard/pkg.probe'
205-
command="'mkdir -vp ~/.cargo/bin; yes | pkg install rust binutils openssl tar -y; echo \$? > $probe'"
205+
command="'mkdir -vp ~/.cargo/bin; yes | pkg update; pkg install rust binutils openssl tar -y; echo \$? > $probe'"
206206
run_termux_command "$command" "$probe" || return
207207

208208
echo "Installing cargo-nextest"

0 commit comments

Comments
 (0)