From: Silvio Rhatto Date: Thu, 4 Jan 2018 16:16:16 +0000 (-0200) Subject: Inception: fix apps/dotfiles symlink handling X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=42cf685729c76a6e2bee9ddaf14324e7fb6dbe9c;p=rhatto%2Fapps.git Inception: fix apps/dotfiles symlink handling --- diff --git a/inception b/inception index a5e4c5f..cd9319f 100755 --- a/inception +++ b/inception @@ -36,7 +36,7 @@ function inception_init { if [ ! -h "$HOME/.dotfiles" ] || [ "`readlink $HOME/.dotfiles`" != "apps/dotfiles" ]; then mkdir -p $BACKUPS mv $HOME/.dotfiles $BACKUPS/ - ( cd $HOME && ln -s $HOME/apps/dotfiles .dotfiles ) + ( cd $HOME &> /dev/null && ln -s apps/dotfiles .dotfiles ) fi fi