From 304c32b9c8308dc90eecf5308a3213b8c3578a5e Mon Sep 17 00:00:00 2001 From: Greg Dumas Date: Tue, 18 Feb 2025 15:38:30 -0500 Subject: [PATCH 1/2] Fix typos --- bin/burden | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/burden b/bin/burden index 9d429e4..f5db065 100755 --- a/bin/burden +++ b/bin/burden @@ -1913,7 +1913,7 @@ create_ansible_options() wait_for=`echo $pid | cut -d ':' -f 1` wait $wait_for out_string=`echo $pid | cut -d ':' -f 2-` - echo Finsihed $out_string + echo Finished $out_string done pindex=0 fi @@ -1931,7 +1931,7 @@ create_ansible_options() wait_for=`echo $pid | cut -d ':' -f 1` wait $wait_for out_string=`echo $pid | cut -d ':' -f 2-` - echo Finsihed $out_string + echo Finished $out_string done # From 760d82d480b046c48402825b6ea26f91888ea8f0 Mon Sep 17 00:00:00 2001 From: Greg Dumas Date: Tue, 25 Feb 2025 07:57:21 -0500 Subject: [PATCH 2/2] Remove duplicate lines --- bin/install.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bin/install.sh b/bin/install.sh index 0af1ace..7060c1e 100755 --- a/bin/install.sh +++ b/bin/install.sh @@ -46,20 +46,12 @@ for package in "${packages[@]}"; do # currently supported distros: fedora, RHEL # reference: https://developer.hashicorp.com/terraform/cli/install/yum - # Get operating system distribution - os_release=$(grep "^ID=" /etc/os-release | awk -F'=' '{print $2}') # Get operating system distribution os_release=$(grep "^ID=" /etc/os-release | awk -F'=' '{print $2}') # Sometimes the $release contains quotes that need to be removed os_release_clean=$(echo $os_release | tr -d '"') - # HashiCorp repo urls are case-sensitive - if [ $os_release_clean = 'rhel' ]; then - release='RHEL' - elif [ $os_release_clean = 'fedora' ]; then - release='fedora' - fi # HashiCorp repo urls are case-sensitive if [ $os_release_clean = 'rhel' ]; then release='RHEL'