This commit is contained in:
pika 2025-05-03 17:02:05 +02:00
parent 3773fd471e
commit dbf6268291

View file

@ -197,20 +197,17 @@ __validate__() {
} }
instZellij() { instZellij() {
cargoInstall() { if ! command_exists rustup; then
_install rustup
rustup default stable
fi
if command_exists cargo; then if command_exists cargo; then
rustup update rustup update
sleep 1 sleep 1
cargo install --locked zellij cargo install --locked zellij
fi fi
}
if ! command_exists zellij; then
if ! cargoInstall; then
echo_error "Something went wrong.. Please look for the installation yourself!"
echo "Documentation: https://zellij.dev/documentation/installation.html#third-party-repositories"
fi
fi
} }
__dep__() { __dep__() {
@ -235,7 +232,12 @@ __dep__() {
fi fi
done done
instZellij if ! command_exists zellij; then
if ! instZellij; then
echo_error "Something went wrong.. Please look for the installation yourself!"
echo "Documentation: https://zellij.dev/documentation/installation.html#third-party-repositories"
fi
fi
} }
pkg_optional() { pkg_optional() {