Software Freedom Law Center

Changeset 584

Show
Ignore:
Timestamp:
01/18/08 11:46:32 (11 months ago)
Author:
bkuhn
Message:

r82@hughes: bkuhn | 2008-01-18 11:27:56 -0500

  • Oops, the version in the repository should be the unpatched version. I accidently committed my patch in this file
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dists/gutsy/apt-mirror/apt-mirror

    r581 r584  
    287287            add_url_to_download($url . $_ . "/source/Release"); 
    288288            add_url_to_download($url . $_ . "/source/Sources.gz"); 
    289             add_url_to_download($url . $_ . "/source/Sources.bz2"); 
    290289        } 
    291290    } else { 
    292291        add_url_to_download($uri . "/$distribution/Sources.gz"); 
    293         add_url_to_download($uri . "/$distribution/Sources.bz2"); 
    294292    } 
    295293} 
     
    303301        add_url_to_download($url . "Release"); 
    304302        add_url_to_download($url . "Release.gpg"); 
    305         if (get_variable("_contents")) { 
    306             add_url_to_download($url . "Contents-" . $arch . ".gz"); 
    307             add_url_to_download($url . "Contents-" . $arch . ".bz2"); 
    308         } 
     303        add_url_to_download($url . "Contents-" . $arch . ".gz") if get_variable("_contents"); 
    309304        foreach (@components) { 
    310305            add_url_to_download($url . $_ . "/binary-" . $arch . "/Release"); 
    311306            add_url_to_download($url . $_ . "/binary-" . $arch . "/Packages.gz"); 
    312             add_url_to_download($url . $_ . "/binary-" . $arch . "/Packages.bz2"); 
    313307        } 
    314308    } else { 
    315309        add_url_to_download($uri . "/$distribution/Packages.gz"); 
    316         add_url_to_download($uri . "/$distribution/Packages.bz2"); 
    317310    } 
    318311} 
     
    327320    $skipclean{$_} = 1; 
    328321    $skipclean{$_} = 1 if s[\.gz$][]; 
    329     $skipclean{$_} = 1 if s[\.bz2$][]; 
    330322} 
    331323 
     
    499491    copy_file(get_variable("skel_path") . "/$_", get_variable("mirror_path") . "/$_"); 
    500492    copy_file(get_variable("skel_path") . "/$_", get_variable("mirror_path") . "/$_") if(s/\.gz$//); 
    501     copy_file(get_variable("skel_path") . "/$_", get_variable("mirror_path") . "/$_") if(s/\.bz2$//); 
    502493} 
    503494 

SFLC Main Page

[frdm] Support SFLC