wip
This commit is contained in:
parent
3773fd471e
commit
dbf6268291
1 changed files with 16 additions and 14 deletions
30
install.sh
30
install.sh
|
@ -197,20 +197,17 @@ __validate__() {
|
|||
}
|
||||
|
||||
instZellij() {
|
||||
cargoInstall() {
|
||||
if command_exists cargo; then
|
||||
rustup update
|
||||
sleep 1
|
||||
cargo install --locked zellij
|
||||
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
|
||||
if ! command_exists rustup; then
|
||||
_install rustup
|
||||
rustup default stable
|
||||
fi
|
||||
|
||||
if command_exists cargo; then
|
||||
rustup update
|
||||
sleep 1
|
||||
cargo install --locked zellij
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
__dep__() {
|
||||
|
@ -235,7 +232,12 @@ __dep__() {
|
|||
fi
|
||||
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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue