From 7485ee324601055fff36a6e5b4362bbd134ded1e Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 29 Sep 2023 09:46:31 -0400 Subject: Rework for mac --- bootstrap | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100755 bootstrap (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap deleted file mode 100755 index 5905df3..0000000 --- a/bootstrap +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -set -e - -escalate() { - if [ -x "$(command -v sudo)" ]; then - sudo $@ - else - echo "sudo not found to escalate permissions" - exit 1 - fi -} - -if ! [ -x "$(command -v ansible-playbook)" ]; then - case "$(uname -s)" in - Linux) - source /etc/os-release - - if [ "$ID" != "fedora" ]; then - echo "[!] Unsupported Linux Distribution" - exit 1 - fi - - escalate dnf install --assumeyes ansible - ;; - *) - echo "[!] Unsupported OS" - exit 1 - ;; - esac -fi -- cgit v1.2.3