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