2009-12-21 05:21:14 +08:00
|
|
|
--- a/src/opkg-cl.c
|
|
|
|
+++ b/src/opkg-cl.c
|
2011-04-12 06:08:43 +08:00
|
|
|
@@ -207,6 +207,9 @@ args_parse(int argc, char *argv[])
|
2009-12-21 05:21:14 +08:00
|
|
|
}
|
|
|
|
}
|
2010-09-13 16:13:36 +08:00
|
|
|
|
2010-09-13 05:16:02 +08:00
|
|
|
+ if(!conf->conf_file && !conf->offline_root)
|
2009-12-21 23:09:08 +08:00
|
|
|
+ conf->conf_file = xstrdup("/etc/opkg.conf");
|
2009-12-21 05:21:14 +08:00
|
|
|
+
|
|
|
|
if (parse_err)
|
|
|
|
return parse_err;
|
|
|
|
else
|