rename feeds.conf to feeds.conf.default, make feeds.conf override feeds.conf.default this makes it possible to change the feeds lists without having the version control system record it as a change
SVN-Revision: 12328
This commit is contained in:
parent
08b6c2294f
commit
a74bb3b417
2 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ sub parse_config() {
|
||||||
my $line = 0;
|
my $line = 0;
|
||||||
my %name;
|
my %name;
|
||||||
|
|
||||||
open FEEDS, "feeds.conf";
|
open FEEDS, "feeds.conf" or
|
||||||
|
open FEEDS, "feeds.conf.default" or
|
||||||
|
die "Unable to open feeds configuration";
|
||||||
while (<FEEDS>) {
|
while (<FEEDS>) {
|
||||||
chomp;
|
chomp;
|
||||||
s/#.+$//;
|
s/#.+$//;
|
||||||
|
|
Loading…
Reference in a new issue