diff options
author | Tim Retout <tim@retout.co.uk> | 2012-08-14 22:21:11 +0100 |
---|---|---|
committer | Tim Retout <tim@retout.co.uk> | 2012-08-14 22:21:45 +0100 |
commit | 065b591504096661ac9f421902e108fbb8624b23 (patch) | |
tree | e196487bab59bb298a0031e280c90eb7e0ef31f0 /solenv | |
parent | a7a12bd3dee32db44a6b50a68ab700dc8ce437df (diff) |
installer::download: Remove unused create_link_tree.
Change-Id: I2ec409d25ae46580898dda180d991554d89ee501
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/installer/download.pm | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/solenv/bin/modules/installer/download.pm b/solenv/bin/modules/installer/download.pm index 7c4e23daf962..fb651a8611e0 100644 --- a/solenv/bin/modules/installer/download.pm +++ b/solenv/bin/modules/installer/download.pm @@ -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 |