wip
This commit is contained in:
parent
c0b7aa3931
commit
a64f7bcd43
@ -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
|
||||||
|
@ -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
|
|
@ -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"
|
|
Loading…
x
Reference in New Issue
Block a user