diff --git a/lib/utilities.sh b/lib/utilities.sh index 0cb44e1..292779b 100644 --- a/lib/utilities.sh +++ b/lib/utilities.sh @@ -79,6 +79,12 @@ get_install_root() { local file_name="$1" local file_extension=$(get_extension "$file_name") + # Special cases not supported by Homebrew. + if [[ "$file_name" == "elm" ]]; then + printf "/usr/local/bin" + return + fi + # Dynamically build the install path based on file extension. case $file_extension in '')