This commit is contained in:
Joe Lillibridge 2024-12-04 12:17:38 -06:00
parent c0b7aa3931
commit a64f7bcd43
No known key found for this signature in database
3 changed files with 3 additions and 22 deletions

View File

@ -2,6 +2,9 @@
set -eu 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" %} {% if yadm.os == "Darwin" %}
# install homebrew if it's missing # install homebrew if it's missing
if ! command -v brew >/dev/null 2>&1; then if ! command -v brew >/dev/null 2>&1; then

View File

@ -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

View File

@ -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"