A WPA(2) pre-shared key can either be specified as a 8 to 63 character passphrase...
[openwrt.git] / scripts / feeds
index 6b09f7e..8e18855 100755 (executable)
@@ -23,7 +23,9 @@ sub parse_config() {
        my $line = 0;
        my %name;
 
        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/#.+$//;
        while (<FEEDS>) {
                chomp;
                s/#.+$//;
@@ -100,7 +102,7 @@ sub update_git($$) {
                system("GIT_DIR=./feeds/$name/.git git pull") == 0 or return 1;
        } else {
                system("rm -rf \"./feeds/$name\"");
                system("GIT_DIR=./feeds/$name/.git git pull") == 0 or return 1;
        } else {
                system("rm -rf \"./feeds/$name\"");
-               system("git-clone --depth 1 $src ./feeds/$name") == 0 or return 1;
+               system("git clone --depth 1 $src ./feeds/$name") == 0 or return 1;
        }
 
        return 0;
        }
 
        return 0;
This page took 0.02368 seconds and 4 git commands to generate.