diff options
Diffstat (limited to 'inception')
-rwxr-xr-x | inception | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -34,8 +34,9 @@ function inception_init { # once the integrity of the apps repo is checked if [ -e "$HOME/.dotfiles" ]; then if [ ! -h "$HOME/.dotfiles" ] || [ "`readlink $HOME/.dotfiles`" != "apps/dotfiles" ]; then - mv $HOME/.dotfiles $BACKUPS/ - ( cd $HOME && ln -s $HOME/apps/dotfiles .dotfiles ) + mkdir -p $BACKUPS + mv $HOME/.dotfiles $BACKUPS/ + ( cd $HOME && ln -s $HOME/apps/dotfiles .dotfiles ) fi fi |