This commit is contained in:
pika 2025-05-07 18:58:18 +02:00
parent 7bea8c7f17
commit 053ba09a15
2 changed files with 12 additions and 2 deletions

14
yazi.sh
View file

@ -13,6 +13,14 @@
exit 1
fi
checkDependencies() {
local deps=(
ffmpeg
7zip
poppler
)
}
evalCargo() {
if [ -e "$HOME/.cargo/env" ]; then
echo_note "Using $HOME/.cargo/env.."
@ -56,10 +64,12 @@
}
main() {
if $arch $opensuse; then
if $arch; then
_install yazi
else
elif ! $opensuse; then
i_yazi
else
echo_warning "$distro is not compatible with this script"
fi
}