Show
Ignore:
Timestamp:
11/03/07 20:39:56 (13 months ago)
Author:
eevee
Message:

Added a cries tarball to the resources page. (#164)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/script/create_downloads.pl

    r250 r367  
    104104tarball berries => 'root/dex-images/items/big', '*-berry.png'; 
    105105 
     106tarball cries => 'root/files/cries', '*.mp3'; 
    106107 
    107108# functions ahoy 
     
    147148sub tarball { 
    148149    my ($outfile, $path, @files) = @_; 
    149     my $outpath = File::Spec->rel2abs("$basepath/root/files/sprites/$outfile.tgz"); 
     150    my $subfolder = 'sprites'; 
     151    if ($outfile eq 'cries') { 
     152        # Hack 
     153        $subfolder = 'cries'; 
     154    } 
     155    my $outpath = File::Spec->rel2abs("$basepath/root/files/$subfolder/$outfile.tgz"); 
    150156 
    151157    if (-e $outpath) {