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