install_tool: select starship architecture

This commit is contained in:
David Tomaschik
2025-07-20 11:01:43 -07:00
parent f3e82690f8
commit 3548113a7d

View File

@@ -480,7 +480,7 @@ EOF
starship) starship)
mkdir -p ${DESTDIR} mkdir -p ${DESTDIR}
download \ download \
"https://github.com/starship/starship/releases/latest/download/starship-x86_64-unknown-linux-musl.tar.gz" \ "https://github.com/starship/starship/releases/latest/download/starship-$(uname -m)-unknown-linux-musl.tar.gz" \
/tmp/starship.tar.gz /tmp/starship.tar.gz
tar -C ${DESTDIR} -zxf /tmp/starship.tar.gz starship tar -C ${DESTDIR} -zxf /tmp/starship.tar.gz starship
add_bin_symlink starship add_bin_symlink starship