aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-01-23 14:42:07 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-01-23 14:42:07 -0200
commit1358a1ea79df2dc48517137e6f8b45692333ad4f (patch)
tree2b892117c7cbb126bd48690cf28b7ec19d05eac3
parentd073d7c2151d25484aa25e3340d141aaaa5a2b35 (diff)
downloadapps-1358a1ea79df2dc48517137e6f8b45692333ad4f.tar.gz
apps-1358a1ea79df2dc48517137e6f8b45692333ad4f.tar.bz2
Inception: make sure we allways have a .dotfiles symlink
-rwxr-xr-xinception2
1 files changed, 2 insertions, 0 deletions
diff --git a/inception b/inception
index a00b692..82e0d43 100755
--- a/inception
+++ b/inception
@@ -38,6 +38,8 @@ function inception_init {
mv $HOME/.dotfiles $BACKUPS/
( cd $HOME &> /dev/null && ln -s apps/dotfiles .dotfiles )
fi
+ else
+ ( cd $HOME &> /dev/null && ln -s apps/dotfiles .dotfiles )
fi
#if [ ! -e "$HOME/.dotfiles" ]; then