From: Silvio Rhatto Date: Tue, 23 Jan 2018 16:42:07 +0000 (-0200) Subject: Inception: make sure we allways have a .dotfiles symlink X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1358a1ea79df2dc48517137e6f8b45692333ad4f;p=rhatto%2Fapps.git Inception: make sure we allways have a .dotfiles symlink --- 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