Changeset 196

Show
Ignore:
Timestamp:
11/07/06 16:59:27 (7 years ago)
Author:
max
Message:

Moving Shepherd into shepherds/ subdir so it's just another component; this lays the groundwork for removing a couple of hacks & bugs

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • shepherd

    r195 r196  
    11#!/usr/bin/perl -w 
     2 
     3my $version = '0.2.35'; 
    24 
    35# "Shepherd" 
     
    2123#  pass 4: (shepherd)    calls postprocessors to postprocess data 
    2224#                        (e.g. flag HDTV programmes, augment with IMDb etc.) 
    23  
    24 my $version = '0.2.34'; 
    2525 
    2626# Changelog: 
  • status

    r193 r196  
    1 shepherd        tv_grab_au          0.3.3 
    2 shepherd        shepherd            0.2.34 
     1shepherd        tv_grab_au          0.3.4 
     2shepherd        shepherd            0.2.35 
    33grabber         yahoo7widget        1.57 
    44grabber         rex                 3.3.6 
  • tv_grab_au

    r194 r196  
    11#!/usr/bin/perl -w 
    22 
    3 my $version = '0.3.3'; 
     3my $version = '0.3.4'; 
    44 
    55# tv_grab_au 
     
    201201    my $ver = 0; 
    202202 
    203     if ($progtype eq "shepherd") 
    204     { 
    205         if (-e "$CWD/$proggy") 
    206         { 
    207             $ver = `$CWD/$proggy --version`; 
    208             chop($ver); 
    209         } 
     203    if ($proggy eq 'tv_grab_au')   # TEMP: for transition only 
     204    #if ($progtype eq "application") 
     205    { 
     206        $ver = $version; 
    210207    } else { 
    211208        $ver = $components->{$proggy}->{ver} if (defined $components->{$proggy} and -e ($progtype . "s/$proggy/$proggy")); 
     
    235232    my $ldir = query_ldir($proggy, $progtype); 
    236233 
    237     if ($progtype ne "shepherd") { 
     234    if ($progtype ne "application") { 
    238235        $rdir = $progtype . "s"; 
    239236        -d ("$CWD/$progtype" . "s")  
     
    271268 
    272269    # if the update was for the main app, restart it 
    273     if ($progtype eq "shepherd") { 
     270    if ($progtype eq "application") { 
    274271        &log("\n*** Restarting ***\n\n"); 
    275272        &close_logfile unless $opt->{nolog};