Skip to content

Commit

Permalink
install-worker: Install git
Browse files Browse the repository at this point in the history
Signed-off-by: Russell Bryant <[email protected]>
  • Loading branch information
russellb committed Mar 18, 2024
1 parent 0848d19 commit 4c0f808
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/install-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ command_exists() {
fi
}

install_prereqs_fedora() {
sudo dnf install -y git
}

install_prereqs() {
if [ "${OS}" == "Fedora" ]; then
install_prereqs_fedora
else
unsupported
fi
}

install_nexodus_fedora() {
if command_exists "nexctl"; then
echo "Nexodus already installed"
Expand Down Expand Up @@ -89,6 +101,7 @@ install_nexodus() {

install() {
check_os
install_prereqs
install_nexodus

echo "Install here"
Expand Down

0 comments on commit 4c0f808

Please sign in to comment.