mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12328 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
20934d75ed
commit
76c0c63ed3
@ -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 New Issue
Block a user