don't abort on backup replacement

This commit is contained in:
Mark Riedesel 2019-11-30 13:31:45 -06:00
parent 1eaf48ec23
commit c994735e1c

View file

@ -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