don't abort on backup replacement
This commit is contained in:
parent
1eaf48ec23
commit
c994735e1c
1 changed files with 3 additions and 3 deletions
|
@ -37,9 +37,9 @@ function install() {
|
|||
# rename files with an ".old" extension
|
||||
warn "$dst already exists, renaming to $dst.old"
|
||||
backup=$dst.old
|
||||
if [ -e $backup ]; then
|
||||
die "$backup already exists. Aborting."
|
||||
fi
|
||||
# if [ -e $backup ]; then
|
||||
# die "$backup already exists. Aborting."
|
||||
# fi
|
||||
mv -v $dst $backup
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue