Update of /cvsroot/freevo/freevo/WIP/Aubin
In directory sc8-pr-cvs1:/tmp/cvs-serv20428

Modified Files:
        OpenPVR_initialise 
Log Message:
Made some modifications to make this match Freevo a little better.


Index: OpenPVR_initialise
===================================================================
RCS file: /cvsroot/freevo/freevo/WIP/Aubin/OpenPVR_initialise,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** OpenPVR_initialise  10 Jul 2003 13:40:12 -0000      1.1
--- OpenPVR_initialise  1 Sep 2003 14:07:07 -0000       1.2
***************
*** 46,52 ****
  Directories:
    --statedir=DIRECTORY      Specify database storage directory
!                             [Default: /var/openpvr]
    --sysconfdir=DIRECTORY    Specify configuration directory
!                             [Default: /etc/openpvr]
  
    -h, --help                Display this help
--- 46,52 ----
  Directories:
    --statedir=DIRECTORY      Specify database storage directory
!                             [Default: /var/cache/freevo]
    --sysconfdir=DIRECTORY    Specify configuration directory
!                             [Default: /etc/freevo]
  
    -h, --help                Display this help
***************
*** 58,63 ****
      # Default options
      #
!     statedir = '/var/openpvr'
!     sysconfdir = '/etc/openpvr'
      skipgrabber = 0
  
--- 58,63 ----
      # Default options
      #
!     statedir = '/var/cache/xmltv'
!     sysconfdir = '/etc/freevo/'
      skipgrabber = 0
  
***************
*** 110,114 ****
      print "Creating cron scripts..."
  
!     filename = '/etc/cron.daily/openpvr.daily'
      try:
          f = open(filename, 'w')
--- 110,114 ----
      print "Creating cron scripts..."
  
!     filename = '/etc/cron.daily/xmltv.daily'
      try:
          f = open(filename, 'w')
***************
*** 119,123 ****
      f.write("""#!/bin/sh
  #
! # openpvr.daily: Download XMLTV listings and load them into the
  #                OpenPVR datastore
  #
--- 119,123 ----
      f.write("""#!/bin/sh
  #
! # xmltv.daily: Download XMLTV listings and load them into the
  #                OpenPVR datastore
  #
***************
*** 142,168 ****
      chmod(filename, 0755)
  
!     filename = '/etc/cron.weekly/openpvr.weekly'
!     try:
!         f = open(filename, 'w')
!     except IOError, e:
!         sys.stderr.write("Cannot open file '%s': %s" % (filename, e))
!         sys.exit(4)
! 
!     f.write("""#!/bin/sh
! #
! # openpvr.weekly: Pack the OpenPVR datastore
! #
! # James Oakley <[EMAIL PROTECTED]>
! #
! 
! umask 022
! 
! PATH=/bin:/usr/bin
! export PATH
! 
! /usr/bin/OpenPVR_pack_db
! """)
!     chmod(filename, 0755)
! 
!     print "OpenPVR is now configured. Run /etc/cron.daily/openpvr.daily to import 
the first tv listings"
      sys.exit(0)
--- 142,145 ----
      chmod(filename, 0755)
  
!     print "XMLTV is now configured. Run /etc/cron.daily/xmltv.daily to import the 
first tv listings"
      sys.exit(0)




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to