From: <jj...@pr...> - 2004-02-02 02:44:02
|
Update of /cvsroot/ngetsuite/ngetsuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32633 Modified Files: ngetsuite.rb sampleconfig Log Message: new config file format, rhs are now evaluated (strings must be quoted) new config option to disable the headers update by the program (extern_headers_update) the working directory is changed to where the main script is located at its startup (to allow the invocation by cron) misc bugfixes Index: ngetsuite.rb =================================================================== RCS file: /cvsroot/ngetsuite/ngetsuite/ngetsuite.rb,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** ngetsuite.rb 2 Nov 2003 19:14:29 -0000 1.13 --- ngetsuite.rb 2 Feb 2004 02:41:34 -0000 1.14 *************** *** 1,4 **** --- 1,6 ---- #!/usr/bin/env ruby + Dir.chdir(__FILE__.sub(/\/[^\/]*$/, '')) + $opts = Hash.new $opts['config-file'] = ENV['HOME'] + File::Separator + '.ngetsuite' unless $opts['config-file'] Index: sampleconfig =================================================================== RCS file: /cvsroot/ngetsuite/ngetsuite/sampleconfig,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** sampleconfig 14 Jan 2004 22:42:15 -0000 1.6 --- sampleconfig 2 Feb 2004 02:41:34 -0000 1.7 *************** *** 1,17 **** ! dbuser = nget ! dbpass = cache4pdv ! dbname = ngetcache ! nget = /home/nget/bin/nget ! yydecode = /usr/bin/yydecode ! cachedir = /home/nget/.nget4 ! basedir = /home/nget/testdl max_dls = 3 port = 12345 ! daemon_log = /tmp/nget-daemon.log ! debug = 0 httpd_port = 2000 --- 1,17 ---- ! dbuser = 'nget' ! dbpass = 'cache4pdv' ! dbname = 'ngetcache' ! nget = '/home/nget/bin/nget' ! yydecode = '/usr/bin/yydecode' ! cachedir = '/home/nget/.nget4' ! basedir = '/home/nget/testdl' max_dls = 3 port = 12345 ! daemon_log = '/tmp/nget-daemon.log' ! debug = false httpd_port = 2000 |