aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2023-09-29 09:46:31 -0400
committerEugene Triguba <eugenetriguba@gmail.com>2023-09-29 09:46:31 -0400
commit7485ee324601055fff36a6e5b4362bbd134ded1e (patch)
treec29ec3b25b54d7a40fdbb1e20ec03bf18fd4a57b /bootstrap
parentAdd brewfile (diff)
downloaddotfiles-7485ee324601055fff36a6e5b4362bbd134ded1e.zip
Rework for mac
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap30
1 files changed, 0 insertions, 30 deletions
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