This commit is contained in:
pika 2025-05-18 17:23:57 +02:00
parent f2696d3dd3
commit e1c716dd12

View file

@ -91,14 +91,15 @@
evalCargo evalCargo
rustup update run rustup update
echo_info "Installing yazi through cargo" echo_info "Installing yazi through cargo"
else else
echo_warning "neither cargo, nor curl were found. Cannot continue!" echo_warning "neither cargo, nor curl were found. Cannot continue!"
return 69
fi fi
cargo install --locked yazi-fm yazi-cli run cargo install --locked yazi-fm yazi-cli
c_yazi c_yazi
} }
@ -106,7 +107,7 @@
c_yazi() { c_yazi() {
if [ -e "$HOME/.config/yazi/package.toml" ]; then if [ -e "$HOME/.config/yazi/package.toml" ]; then
if command_exists ya; then if command_exists ya; then
ya pack -i run ya pack -i || run ya pack -u
fi fi
else else
echo_warning "There was no yazi config found.. " echo_warning "There was no yazi config found.. "