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