mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
Made install.pl respect -f better.
This commit is contained in:
parent
0931d91a06
commit
baa5a95e28
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue