Kaydet (Commit) 38a3edb2 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud Kaydeden (comit) David Tardon

bug in perl installer that make UnixLink entries to be lost

the code in question try to re-assign entry that are in normal file
to links based on some condiftion... but when it did that
it would overwrite the content of the array that was passed
instead of adding to it, hence loosing any Unixlink entries.

Change-Id: Ia879dfefa4bf2fc635c05864b014e0712e51812d
Reviewed-on: https://gerrit.libreoffice.org/6574Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst df21d317
......@@ -81,7 +81,7 @@ sub resolve_filelist_flag
# get_Destination_Directory_For_Item_From_Directorylist
$newfile{'DoNotMessWithSymlinks'} = 1;
$newfile{'Target'} = readlink($path);
push @links, \%newfile;
push ( @{$links}, \%newfile );
}
else
{
......@@ -106,7 +106,7 @@ sub resolve_filelist_flag
}
}
return (\@newfiles, \@links);
return (\@newfiles, $links);
}
sub read_filelist
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment