wip
This commit is contained in:
parent
3773fd471e
commit
dbf6268291
1 changed files with 16 additions and 14 deletions
20
install.sh
20
install.sh
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue