]> gitweb.fluxo.info Git - rhatto/apps.git/commitdiff
Inception: make sure we allways have a .dotfiles symlink
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 23 Jan 2018 16:42:07 +0000 (14:42 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 23 Jan 2018 16:42:07 +0000 (14:42 -0200)
inception

index a00b692e1514b5c751a6e96834a34d63d379fb52..82e0d43090245dd62bfcf8b328cd2c04d35d185a 100755 (executable)
--- 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