diff --git a/get-armory-cli b/get-armory-cli index dfa40a5..41d3d3f 100755 --- a/get-armory-cli +++ b/get-armory-cli @@ -25,7 +25,7 @@ case $RAW_ARCH in ;; esac -echo "Detected ${OS}-${ARCH}, preparing to install Armory Version Manager and Armory CLI" +echo "Detected ${OS}-${ARCH}. Preparing to install Armory Version Manager and Armory CLI." DOWNLOAD_URL=$(curl -L -s https://api.github.com/repos/armory/avm/releases/latest | grep "browser_download_url.*avm-${OS}-${ARCH}" | cut -d : -f 2,3 | tr -d \" | xargs echo -n) DEST_DIR="${HOME}/.avm/bin" @@ -37,13 +37,13 @@ chmod +x "${DEST}" export PATH="${PATH}:${DEST_DIR}" -echo "Installing latest Armory CLI with AVM, to upgrade in the future use 'avm'" +echo "Installing latest Armory CLI with AVM. To upgrade in the future use 'avm'." avm install ### # Logic below for updating profiles are inspired by Nvm and SDKMan ## -PATH_SNIPPIT="\n# This adds the Armory Version Manager (AVM) and Armory CLI to the path\nexport PATH=\"\${PATH}:${HOME}/.avm/bin\"" +PATH_SNIPPIT="\n# This adds the Armory Version Manager (AVM) and Armory CLI to the path\nexport PATH=\"\${PATH}:${HOME}/.avm/bin\"." avm_bash_profile="${HOME}/.bash_profile" avm_bashrc="${HOME}/.bashrc" avm_zshrc="${ZDOTDIR:-${HOME}}/.zshrc" @@ -70,9 +70,9 @@ if [[ -z $(grep "export PATH=\"\${PATH}:${HOME}/.avm/bin" "$avm_zshrc") ]]; then echo "Added ${HOME}/.avm/bin to path in ${avm_zshrc}" fi -echo "############################################################################################" -echo "# Install of avm, and armory complete" -echo "# This install script updates your bash or zsh profile to add ${HOME}/.avm/bin to your path" -echo "# If you aren't using bash or zsh you will need to do this manually" -echo "# You may have to start a new terminal session or re-source your bash or zsh profile/rc" -echo "############################################################################################" \ No newline at end of file +echo "#############################################################################################" +echo "# Install of AVM and CLI Complete" +echo "# This install script updates your bash or zsh profile to add ${HOME}/.avm/bin to your path." +echo "# If you aren't using bash or zsh, you need to update your profile manually." +echo "# You may have to start a new terminal session or source your bash or zsh profile/rc." +echo "#############################################################################################" \ No newline at end of file