2020-11-07 16:40:23 +01:00
|
|
|
#Prerequesits
|
2020-11-07 16:52:35 +01:00
|
|
|
echo "-- Installing git --"
|
2020-11-07 16:40:23 +01:00
|
|
|
install git
|
2020-11-07 16:52:35 +01:00
|
|
|
if [ "$(which $1)" != "" ]; then
|
|
|
|
apt-get install $1 -y > /dev/null
|
|
|
|
fi
|
2020-11-07 16:40:23 +01:00
|
|
|
|
|
|
|
echo "-- Cloning repo --"
|
|
|
|
git clone git@github.com:jim-fx/.dotfiles.git ~/.dotfiles
|
|
|
|
|
|
|
|
echo "-- starting script --"
|
|
|
|
chmod +x ~/.dotfiles/setup.sh
|
|
|
|
~/.dotfiles/setup.sh
|