2009-12-20 21:21:14 +00:00
|
|
|
--- a/src/opkg-cl.c
|
|
|
|
+++ b/src/opkg-cl.c
|
2010-01-07 12:37:49 +00:00
|
|
|
@@ -172,7 +172,10 @@
|
2009-12-20 21:21:14 +00:00
|
|
|
printf("Confusion: getopt_long returned %d\n", c);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
-
|
|
|
|
+
|
|
|
|
+ if(!conf->conf_file)
|
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
|