diff --git a/yazi.sh b/yazi.sh index 4fcefcd..d740a8c 100644 --- a/yazi.sh +++ b/yazi.sh @@ -69,6 +69,8 @@ 7zip poppler ) + + checkAndInstall "${deps[@]}" } evalCargo() { @@ -122,7 +124,9 @@ if $arch; then _install yazi elif ! $opensuse; then - i_yazi + if checkDependencies; then + i_yazi + fi else echo_warning "$distro is not compatible with this script" fi