From cc8d4a16a950efa2bbb41ada8ae0cb720e37408c Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sat, 20 Feb 2021 21:29:45 +0000 Subject: [PATCH] Fix when running on Debian --- ansible-setup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ansible-setup.sh b/ansible-setup.sh index 32525f4..2c231df 100755 --- a/ansible-setup.sh +++ b/ansible-setup.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright 2021 Anthony Perkins # @@ -40,6 +40,10 @@ pipinstall wheel pipinstall ansible popd +if [ ! -d "$HOME/bin" ]; then + mkdir "$HOME/bin" +fi + for command in \ ansible \ ansible-config \