aboutsummaryrefslogtreecommitdiff
path: root/inception
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-08-12 11:12:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-08-12 11:12:49 -0300
commit5e742ff6cdf19f6fdaf0e2119367864120ab8b7b (patch)
treec516f33eb438298c1de6cb9d8e1c73335867f121 /inception
parente40f5bc57c255f067fdae32d00229f87c58e5cf5 (diff)
downloadapps-5e742ff6cdf19f6fdaf0e2119367864120ab8b7b.tar.gz
apps-5e742ff6cdf19f6fdaf0e2119367864120ab8b7b.tar.bz2
Inception: check for dotfiles
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