This commit is contained in:
pika 2025-05-18 17:35:32 +02:00
parent 7e43159da7
commit bd77fdcc51

14
yazi.sh
View file

@ -105,18 +105,6 @@
esac esac
} }
checkDependencies() {
local deps=(
ffmpeg
make
gcc
7zip
poppler
)
checkAndInstall "${deps[@]}"
}
evalCargo() { evalCargo() {
if [ -e "$HOME/.cargo/env" ]; then if [ -e "$HOME/.cargo/env" ]; then
echo_note "Using $HOME/.cargo/env.." echo_note "Using $HOME/.cargo/env.."
@ -164,7 +152,7 @@
if $arch; then if $arch; then
_install yazi _install yazi
elif ! $opensuse; then elif ! $opensuse; then
if checkDependencies; then if getDependencies; then
i_yazi && i_yazi &&
c_yazi c_yazi
fi fi