Browse Source

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
Felix Fietkau 17 years ago
parent
commit
a74bb3b417
2 changed files with 3 additions and 1 deletions
  1. 0 0
      feeds.conf.default
  2. 3 1
      scripts/feeds

+ 0 - 0
feeds.conf → feeds.conf.default


+ 3 - 1
scripts/feeds

@@ -23,7 +23,9 @@ sub parse_config() {
 	my $line = 0;
 	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>) {
 		chomp;
 		s/#.+$//;