diff options
| author | srdusr <trevorgray@srdusr.com> | 2024-06-20 19:06:56 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2024-06-20 19:06:56 +0200 |
| commit | 43f2a3723efda5ce2235eaddd1840c1e1858cc69 (patch) | |
| tree | ceb8f73103c26d1fd5c5cba42c1d2a601d0baa15 /install.sh | |
| parent | 9246f68def2e18bc92658f3fc637008109abbd73 (diff) | |
| download | dotfiles-43f2a3723efda5ce2235eaddd1840c1e1858cc69.tar.gz dotfiles-43f2a3723efda5ce2235eaddd1840c1e1858cc69.zip | |
Testing
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -26,6 +26,9 @@ if [ ! -d "$TRASH_DIR" ]; then fi fi +# Move log file to Trash directory +mv -f "$LOG_FILE" "$TRASH_DIR/" + # Redirect stderr to both stderr and log file exec 2> >(tee -a "$LOG_FILE") @@ -176,11 +179,6 @@ install_zsh_plugins() { fi } -# install tailscale -if ! command -v tailscale &>/dev/null; then - curl -fsSL https://tailscale.com/install.sh | bash -fi - #============================================================================== #====================================== @@ -819,6 +817,12 @@ setup_tmux_plugins() { fi } +install_tailscale() { + if ! command -v tailscale &>/dev/null; then + curl -fsSL https://tailscale.com/install.sh | bash + fi +} + setup_ssh() { SSH_DIR="$HOME/.ssh" if ! [[ -f "$SSH_DIR/authorized_keys" ]]; then @@ -844,6 +848,7 @@ linux_specific_steps() { #install_nvm #install_node #install_yarn + install_tailscale linux_install_packages install_zsh_plugins setup_tmux_plugins @@ -920,7 +925,4 @@ main() { handle_complete "Installation completed successfully." } -# Move log file to Trash directory -mv -f "$LOG_FILE" "$TRASH_DIR/" - main "$@" |
