diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-08-12 11:12:49 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-08-12 11:12:49 -0300 |
commit | 5e742ff6cdf19f6fdaf0e2119367864120ab8b7b (patch) | |
tree | c516f33eb438298c1de6cb9d8e1c73335867f121 /inception | |
parent | e40f5bc57c255f067fdae32d00229f87c58e5cf5 (diff) | |
download | apps-5e742ff6cdf19f6fdaf0e2119367864120ab8b7b.tar.gz apps-5e742ff6cdf19f6fdaf0e2119367864120ab8b7b.tar.bz2 |
Inception: check for dotfiles
Diffstat (limited to 'inception')
-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 |