aboutsummaryrefslogtreecommitdiff
path: root/inception
diff options
context:
space:
mode:
Diffstat (limited to 'inception')
-rwxr-xr-xinception6
1 files changed, 4 insertions, 2 deletions
diff --git a/inception b/inception
index 07e8327..184b983 100755
--- a/inception
+++ b/inception
@@ -15,8 +15,10 @@ if [ -z "$1" ] || [ "$1" == "init" ]; then
echo "Initializing submodules..."
git submodule update --init
- echo "Cloning default dotfiles..."
- ./metadot/metadot clone default
+ if [ ! -e "$HOME/.dotfiles" ]; then
+ echo "Cloning default dotfiles..."
+ ./metadot/metadot clone default
+ fi
echo "Checking latest tag..."
cd $HOME/.dotfiles