wip
This commit is contained in:
parent
7bea8c7f17
commit
053ba09a15
2 changed files with 12 additions and 2 deletions
14
yazi.sh
14
yazi.sh
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue