fix: v4
This commit is contained in:
parent
fa0d58d706
commit
f4b8c7ca66
10
install.sh
10
install.sh
@ -1,16 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#Prerequesits
|
# - Prerequesits -
|
||||||
echo "-- Installing git --"
|
echo "-- Installing git --"
|
||||||
if [ "$(which $1)" != "" ]; then
|
if [ "$(which git)" != "" ]; then
|
||||||
apt-get install $1 -y > /dev/null
|
apt-get install git -y > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cloning Repo
|
# - Cloning Repo -
|
||||||
echo "-- Cloning repo --"
|
echo "-- Cloning repo --"
|
||||||
git clone git@github.com:jim-fx/.dotfiles.git ~/.dotfiles
|
git clone git@github.com:jim-fx/.dotfiles.git ~/.dotfiles
|
||||||
|
|
||||||
# Executing the script
|
# - Executing the script -
|
||||||
echo "-- starting script --"
|
echo "-- starting script --"
|
||||||
chmod +x ~/.dotfiles/setup.sh
|
chmod +x ~/.dotfiles/setup.sh
|
||||||
~/.dotfiles/setup.sh
|
~/.dotfiles/setup.sh
|
Loading…
Reference in New Issue
Block a user