diff --git a/modules/04-install-brew.sh b/modules/04-install-brew.sh index 108802a..e5719ea 100755 --- a/modules/04-install-brew.sh +++ b/modules/04-install-brew.sh @@ -107,6 +107,7 @@ function createBrewCallerScript() { local brewCallerPath="${homebrewRepositoryPath}/bin/brew-caller" local brewCallerSymlink="/usr/local/bin/brew" [ -f "${brewCallerPath}" ] && rm "${brewCallerPath}" + [ -f "${brewCallerSymlink}" ] && rm "${brewCallerSymlink}" cat <<- BREWCALLER | clang -x c -O2 -Wall -o "${brewCallerPath}" - #include #include