mirror of
https://codeberg.org/hyperreal/dotfiles
synced 2024-11-25 11:53: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
|
# interactive
|
||||||
install_starship() {
|
install_starship() {
|
||||||
|
if ! test -f "$(command -v starship)"; then
|
||||||
curl -sS https://starship.rs/install.sh | sh
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_packages() {
|
function install_packages() {
|
||||||
|
Loading…
Reference in New Issue
Block a user