Merge pull request #28 from selaselah/master

fix find-translation-files bug
pull/37/head
Benjamin Drung 9 years ago
commit f69bb013d1
  1. 4
      apt-mirror

@ -463,7 +463,7 @@ sub find_translation_files_in_release
my ( $release_uri, $release_path, $line ) = '';
$release_uri = $dist_uri . "Release";
$release_path = get_variable("mirror_path") . "/" . sanitise_uri($release_uri);
$release_path = get_variable("skel_path") . "/" . sanitise_uri($release_uri);
unless ( open STREAM, "<$release_path" )
{
@ -519,7 +519,7 @@ sub process_translation_index
$base_uri = $dist_uri . $component . "/i18n/";
$index_uri = $base_uri . "Index";
$index_path = get_variable("mirror_path") . "/" . sanitise_uri($index_uri);
$index_path = get_variable("skel_path") . "/" . sanitise_uri($index_uri);
unless ( open STREAM, "<$index_path" )
{

Loading…
Cancel
Save