~davewalker/xmltv/544522

« back to all changes in this revision

Viewing changes to grab/uk_rt/tv_grab_uk_rt.PL

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Lesicnik
  • Date: 2008-08-07 07:25:45 UTC
  • mfrom: (1.2.10 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080807072545-ttu7eljrarkzon1p
Tags: 0.5.52-1ubuntu1
* Merge from debian unstable, remaining changes: (LP: #255450)
  - Fixes multiple broken grabbers (LP: #193703)
  - Update 06_grab_no.dpatch
* Deleted 07_grab_pt.patch from debian/patches as it is now in Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Generate tv_grab_uk_rt from tv_grab_uk_rt.in.  This is to set the path to
2
 
# the files in /usr/local/share/xmltv or wherever.
 
1
# Generate tv_grab_uk_rt from tv_grab_uk_rt.in.
3
2
#
4
3
# The second argument is the share directory for the final
5
4
# installation.
6
5
#
7
 
# $Id: tv_grab_uk_rt.PL,v 1.5 2007/10/31 05:18:15 knowledgejunkie Exp $
 
6
# $Id: tv_grab_uk_rt.PL,v 1.7 2008/06/01 07:19:10 knowledgejunkie Exp $
8
7
#
9
8
 
10
9
use IO::File;
17
16
my $seen = 0;
18
17
while (<$in_fh>) {
19
18
#    s/^my \$SHARE_DIR =.*/my \$SHARE_DIR='$share_dir'; \# by $0/ && $seen++;
20
 
    print $out_fh $_;
 
19
    s/\@\@name/tv_grab_uk_rt/;
 
20
    s/\@\@desc/\@\@country (Radio Times)/;
 
21
    s/\@\@nspc/             /;
 
22
    s/\@\@country/United Kingdown\/Republic of Ireland/;
 
23
    s%\@\@rt_root_dir%http://xmltv.radiotimes.com/xmltv%;
 
24
print $out_fh $_;
21
25
}
22
26
#if ($seen == 0) {
23
27
#    die "did not see SHARE_DIR line in $in";