fix: install updates
This commit is contained in:
parent
cd3fa3a34e
commit
fe77b20bac
@ -3,9 +3,9 @@
|
|||||||
if [ ! -x "$(command -v git)" ]; then
|
if [ ! -x "$(command -v git)" ]; then
|
||||||
echo "Installing xcode commandline tools..."
|
echo "Installing xcode commandline tools..."
|
||||||
sudo xcode-select --install
|
sudo xcode-select --install
|
||||||
# Mojave fix
|
fi
|
||||||
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
|
|
||||||
|
|
||||||
|
if [ ! -x "$(command -v brew)" ]; then
|
||||||
echo "Installing homebrew..."
|
echo "Installing homebrew..."
|
||||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||||
else
|
else
|
||||||
@ -23,8 +23,8 @@ fi
|
|||||||
if [ ! -d ~/.homesick ]; then
|
if [ ! -d ~/.homesick ]; then
|
||||||
echo "Installing homesick..."
|
echo "Installing homesick..."
|
||||||
sudo gem install homesick
|
sudo gem install homesick
|
||||||
homesick clone git@github.com:walkah/dotfiles.git
|
homesick clone https://github.com/walkah/dotfiles.git
|
||||||
homesick symlink -f
|
homesick symlink
|
||||||
else
|
else
|
||||||
echo "Homesick already installed."
|
echo "Homesick already installed."
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user