diff options
-rwxr-xr-x | inception | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |