diff --git a/scripts/install.bash b/scripts/install.bash index 3c6f609..acfb087 100755 --- a/scripts/install.bash +++ b/scripts/install.bash @@ -1,18 +1,18 @@ #!/bin/bash -if [ -x $(command -v zypper) ]; then +if [ -x "$(command -v zypper)" ]; then sudo zypper install --type pattern devel_basis - sudo zypper install libopenssl-deve + sudo zypper install libopenssl-devel git else echo "ERROR: Package manager not found. Could not install" fi -if [ ! -x $(command -v cargo) ]; then +if [ ! -x "$(command -v cargo)" ]; then curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh source "$HOME/.cargo/env" fi -if [ ! -x $(command -v configz) ]; then +if [ ! -x "$(command -v configz)" ]; then cargo install --git https://github.com/AdeAttwood/Configz fi