mirror of
https://codeberg.org/hyperreal/dotfiles
synced 2024-11-25 03:43:43 +01:00
Make install_starship() idempotent
This commit is contained in:
parent
fb4cc4abfa
commit
adced97c43
@ -178,7 +178,9 @@ install_makedeb_prebuilt_packages() {
|
||||
|
||||
# interactive
|
||||
install_starship() {
|
||||
curl -sS https://starship.rs/install.sh | sh
|
||||
if ! test -f "$(command -v starship)"; then
|
||||
curl -sS https://starship.rs/install.sh | sh
|
||||
fi
|
||||
}
|
||||
|
||||
function install_packages() {
|
||||
|
Loading…
Reference in New Issue
Block a user