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