From a64f7bcd438843486ff8699f02049aff122eb6c2 Mon Sep 17 00:00:00 2001 From: Joe Lillibridge Date: Wed, 4 Dec 2024 12:17:38 -0600 Subject: [PATCH] wip --- .config/yadm/bootstrap##template | 3 +++ .config/yadm/bootstrap.d/homebrew.sh | 18 ------------------ .config/yadm/bootstrap.d/yadm.sh | 4 ---- 3 files changed, 3 insertions(+), 22 deletions(-) delete mode 100755 .config/yadm/bootstrap.d/homebrew.sh delete mode 100755 .config/yadm/bootstrap.d/yadm.sh diff --git a/.config/yadm/bootstrap##template b/.config/yadm/bootstrap##template index 6e1927d..c3880ea 100755 --- a/.config/yadm/bootstrap##template +++ b/.config/yadm/bootstrap##template @@ -2,6 +2,9 @@ set -eu +echo "Setting the yadm repo origin URL to SSH..." +yadm remote set-url origin "git@github.com:fwonkas/dotfiles.git" + {% if yadm.os == "Darwin" %} # install homebrew if it's missing if ! command -v brew >/dev/null 2>&1; then diff --git a/.config/yadm/bootstrap.d/homebrew.sh b/.config/yadm/bootstrap.d/homebrew.sh deleted file mode 100755 index ef6a23a..0000000 --- a/.config/yadm/bootstrap.d/homebrew.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -system_type=$(uname -s) - -if [ "$system_type" = "Darwin" ]; then - - # install homebrew if it's missing - if ! command -v brew >/dev/null 2>&1; then - echo "Installing homebrew" - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - fi - - if [ -f "$HOME/.Brewfile" ]; then - echo "Updating homebrew bundle" - brew bundle --global - fi - -fi diff --git a/.config/yadm/bootstrap.d/yadm.sh b/.config/yadm/bootstrap.d/yadm.sh deleted file mode 100755 index af64fdc..0000000 --- a/.config/yadm/bootstrap.d/yadm.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -echo "Setting the yadm repo origin URL to SSH..." -yadm remote set-url origin "git@github.com:fwonkas/dotfiles.git" \ No newline at end of file