<commit_before>#!/bin/bash -e

function install()
{
    # Clean Up

    initializeFolder "${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}"
# rm -f '/usr/local/bin/aws'

    # Install

    unzipRemoteFile "${GOOGLE_CLOUD_SDK_DOWNLOAD_URL}" "${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}"
    "${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}/bin/gcloud" config set disable_usage_reporting true
    "${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}/install.sh" --quiet
    chown -R "${SUDO_USER}:$(getUserGroupName "${SUDO_USER}")" "${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}"

    # Display Version

    displayVersion "$("${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}/bin/gcloud" --version)"
}

function main()
{
    APP_FOLDER_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

    source "${APP_FOLDER_PATH}/../../../libraries/util.bash"
    source "${APP_FOLDER_PATH}/../attributes/default.bash"

    checkRequireMacSystem
    checkRequireRootUser

    header 'INSTALLING GOOGLE-CLOUD-SDK'

    install
}

main "${@}"<commit_msg>bug fixes<commit_after>#!/bin/bash -e

function install()
{
    # Clean Up

    initializeFolder "${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}"
    rm -f '/usr/local/bin/gcloud'

    # Install

    unzipRemoteFile "${GOOGLE_CLOUD_SDK_DOWNLOAD_URL}" "${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}"
    "${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}/install.sh" --quiet
    "${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}/bin/gcloud" components update
    chown -R "${SUDO_USER}:$(getUserGroupName "${SUDO_USER}")" "${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}" "$(getUserHomeFolder "${SUDO_USER}")/.config"
    ln -f -s "${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}/bin/gcloud" '/usr/local/bin/gcloud'

    # Display Version

    displayVersion "$("${GOOGLE_CLOUD_SDK_INSTALL_FOLDER_PATH}/bin/gcloud" --version)"
}

function main()
{
    APP_FOLDER_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

    source "${APP_FOLDER_PATH}/../../../libraries/util.bash"
    source "${APP_FOLDER_PATH}/../attributes/default.bash"

    checkRequireMacSystem
    checkRequireRootUser

    header 'INSTALLING GOOGLE-CLOUD-SDK'

    install
}

main "${@}"
{'fraction_non_alphanumeric': 0.15501664289110795, 'fraction_numerical': 0.0009510223490252021, 'mean_word_length': 4.686486486486486, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1880036', 'n_tokens_mistral': 835, 'n_tokens_neox': 769, 'n_words': 104}