mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-17 21:09:25 +00:00
Check if git is installed
This commit is contained in:
@@ -1,4 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
which git > /dev/null
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "Git isn't installed."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
git clone https://github.com/nikdoof/dotfiles.git $HOME/.dotfiles > /dev/null
|
git clone https://github.com/nikdoof/dotfiles.git $HOME/.dotfiles > /dev/null
|
||||||
cd $HOME/.dotfiles/
|
cd $HOME/.dotfiles/
|
||||||
for package in bin bash; do
|
for package in bin bash; do
|
||||||
|
|||||||
Reference in New Issue
Block a user