Made install.pl respect -f better.

This commit is contained in:
Adrian Kreher 2009-09-05 16:51:59 -05:00
parent 0931d91a06
commit baa5a95e28

View file

@ -91,7 +91,7 @@ for my $file (keys %links) {
# If a link already exists, see if it points to this file. If so, skip it.
# This prevents extra warnings caused by previous runs of install.pl.
if(-e $dest && -l $dest) {
if(!$force && -e $dest && -l $dest) {
next if readlink($dest) eq $src;
}