Skip to content

Commit ab4e786

Browse files
Fixed dotfiles folder backup on restorer (#208)
Co-authored-by: Rafa Gómez <rgomezcasas@gmail.com>
1 parent a3e57b6 commit ab4e786

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

restorer

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export DOTLY_PATH="$DOTFILES_PATH/$dotly_inner_path"
191191
# Backup if currently there are any dotfiles and prepare parent directory
192192
if [[ -d $DOTFILES_PATH ]] && ! ${continue-}; then
193193
_q "🗂 Your DOTFILES_PATH is not empty. Do you want to do a backup first? [Y/n]" "PROMPT_REPLY"
194-
[[ ${PROMPT_REPLY:-Y} =~ ^[Yy] ]] && create_dotfiles_dir "$DOTFILES_PATH"
194+
[[ ${PROMPT_REPLY:-Y} =~ ^[Yy] ]] && backup_dotfiles_dir "$DOTFILES_PATH"
195195
fi
196196

197197
if [[ ! -d $DOTFILES_PATH ]]; then

0 commit comments

Comments
 (0)