diff options
| author | srdusr <trevorgray@srdusr.com> | 2024-06-20 13:06:00 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2024-06-20 13:06:00 +0200 |
| commit | 660be61c662564bdb1e6f4eb0d6cfa98bef117c0 (patch) | |
| tree | 6259c4813f986a6bd7a6fce801c43ee51ac5b64d | |
| parent | d3b926f1536714c6da62a87bb66a6e1b6eaf37aa (diff) | |
| download | dotfiles-660be61c662564bdb1e6f4eb0d6cfa98bef117c0.tar.gz dotfiles-660be61c662564bdb1e6f4eb0d6cfa98bef117c0.zip | |
Testing
| -rwxr-xr-x | install.sh | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -174,8 +174,22 @@ install_zsh_plugins() { #====================================== # Common Sources/Dependencies #====================================== + +# Install yq +install_yq() { + echo "Installing yq..." + if [ "$DOWNLOAD_COMMAND" == "wget" ]; then + wget -O /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 + elif [ "$DOWNLOAD_COMMAND" == "curl" ]; then + curl -Lo /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 + fi + chmod +x /usr/local/bin/yq + echo "yq installed successfully." +} + echo "$dotfiles_dir" >>.gitignore echo "install.sh" >>.gitignore + # Dotfiles function config { git --git-dir="$dotfiles_dir"/ --work-tree="$HOME" "$@" @@ -750,6 +764,7 @@ linux_specific_steps() { submodules change_dir_names linux_update_system + install_yq install_rust install_nvm install_node |
