Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
rbamos committed Jul 12, 2024
1 parent e29d4c9 commit 073069f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
# INTEGRATION_PORTAL_URL: See https://panoramaed.atlassian.net/wiki/spaces/ENG/pages/2847113303/Leapp
# LEAPP_ROLES: See https://panoramaed.atlassian.net/wiki/spaces/ENG/pages/2847113303/Leapp


sudo rm -f /tmp/leapp-setup.log

# xcode command line tools installation will hang on OS versions lower than this
MIN_OS_VERSION="12.4.0"
kernel_name=$(uname -s)

sudo rm -f /tmp/leapp-setup.log
echo "$LINENO" >> /tmp/leapp-setup.log

# If the utils.sh file is not present, download & run it
if [[ ! -e "utils.sh" ]]; then
Expand Down Expand Up @@ -53,7 +56,7 @@ echo "$LINENO" >> /tmp/leapp-setup.log

# Install Homebrew if not installed
# This may optionally install the Xcode CLT if it is not already installed.
if ! which brew > /dev/null ; then
if [[ "$kernel_name" == 'Darwin' ]] && ! which brew > /dev/null ; then
# If using Linux, create /home/<user>/ using sudo permission
if [[ "$kernel_name" == "Linux" ]] && [[ ! -e "/home/$(whoami)" ]]; then
sudo mkdir -p "/home/$(whoami)"
Expand Down

0 comments on commit 073069f

Please sign in to comment.