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:
Felix Fietkau 2008-08-17 09:05:01 +00:00
parent 08b6c2294f
commit a74bb3b417
2 changed files with 3 additions and 1 deletions

View file

@ -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/#.+$//;