From 920b2f3e52effa1e5e6cce02a4908b1de1893a8b Mon Sep 17 00:00:00 2001 From: ChrisCarini <6374067+ChrisCarini@users.noreply.github.com> Date: Sat, 25 Jun 2022 11:56:22 -0700 Subject: [PATCH] Delete the correct path (`Contents/Resources/IPMIView`). --- script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.sh b/script.sh index b26fdf9..70df870 100644 --- a/script.sh +++ b/script.sh @@ -51,8 +51,8 @@ else fi echo "Extracting contents of downloaded IPMIView archive..." -if [[ -d Contents/ ]]; then - rm -rf Contents/ +if [[ -d Contents/Resources/IPMIView ]]; then + rm -rf Contents/Resources/IPMIView fi mkdir -p Contents/Resources/IPMIView/Contents/Home/bin tar -zxf "${LOCAL_DOWNLOAD_LOCATION}"/IPMIView*.tar* --strip=1 -C ./Contents/Resources/IPMIView/. ||