blob: 93985d1e8e7b818739bdb093537f066d2448d4d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/bash
CWD=`pwd`
# letsencrypt CA certs aren't installed yet so we pass --insecure
CURL='curl --silent --insecure --location'
if [[ $OSTYPE == darwin* ]]; then
echo "OS X detected. Executing os-x_move_in.sh"
$CURL https://beehive.io/jason/dotfiles/raw/master/os-x_move_in.sh
if ! [ -e "$HOME/.amethyst" ]; then
echo "Linking amethyst config..."
stow amethyst
fi
if [ -e "/usr/bin/vagrant" ] && [ -e "$CWD/../vagrant-vmware-license.lic" ]; then
echo "Installing Vagrant support for VMWare Fusion..."
vagrant plugin install vagrant-vmware-fusion
vagrant plugin license vagrant-vmware-fusion "$CWD/../vagrant-vmware-license.lic"
fi
fi
if [[ $OSTYPE == linux-gnu ]]; then
if [[ `lsb_release -i -s` == Ubuntu ]]; then
echo "Ubuntu detected. Executing ubuntu_move_in.sh"
sudo apt-get install -y curl
$CURL https://beehive.io/jason/dotfiles/raw/master/ubuntu_move_in.sh | sh
fi
fi
cd $CWD
echo "Done."
|