solenv/bin/modules/installer/download.pm | 26 -------------------------- 1 file changed, 26 deletions(-)
New commits: commit 065b591504096661ac9f421902e108fbb8624b23 Author: Tim Retout <t...@retout.co.uk> Date: Tue Aug 14 22:21:11 2012 +0100 installer::download: Remove unused create_link_tree. Change-Id: I2ec409d25ae46580898dda180d991554d89ee501 diff --git a/solenv/bin/modules/installer/download.pm b/solenv/bin/modules/installer/download.pm index 7c4e23d..fb651a8 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits