Kaydet (Commit) 065b5915 authored tarafından Tim Retout's avatar Tim Retout

installer::download: Remove unused create_link_tree.

Change-Id: I2ec409d25ae46580898dda180d991554d89ee501
üst a7a12bd3
......@@ -781,32 +781,6 @@ sub get_language_string_from_language_block
return $newstring;
}
####################################################
# Creating link tree for upload
####################################################
sub create_link_tree
{
my ($sourcedownloadfile, $destfilename, $versionstring) = @_;
if ( ! $installer::globals::ooouploaddir ) { installer::exiter::exit_program("ERROR: Directory for LO upload not defined!", "create_link_tree"); }
my $versiondir = $installer::globals::ooouploaddir . $installer::globals::separator . $versionstring;
my $infoline = "Directory for the link: $versiondir\n";
push(@installer::globals::logfileinfo, $infoline);
if ( ! -d $versiondir ) { installer::systemactions::create_directory_structure($versiondir); }
# inside directory $versiondir all links have to be created
my $linkdestination = $versiondir . $installer::globals::separator . $destfilename;
# If there is an older version of this file (link), it has to be removed
if ( -f $linkdestination ) { unlink($linkdestination); }
$infoline = "Creating hard link from $sourcedownloadfile to $linkdestination\n";
push(@installer::globals::logfileinfo, $infoline);
installer::systemactions::hardlink_one_file($sourcedownloadfile, $linkdestination);
}
#######################################################
# Setting supported platform for LibreOffice
# builds
......
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