[+] fastinstall: check if already installed
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
# Go to home directory
|
# Go to home directory
|
||||||
pushd $HOME
|
pushd $HOME
|
||||||
|
|
||||||
|
# Check if already installed
|
||||||
|
if [ -d "zshrc" ]; then
|
||||||
|
echo "Already installed."
|
||||||
|
exit -1
|
||||||
|
fi
|
||||||
|
|
||||||
# Clone repo
|
# Clone repo
|
||||||
git clone "https://github.com/hykilpikonna/zshrc"
|
git clone "https://github.com/hykilpikonna/zshrc"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user