011-old-config-location.patch 247 B

123456789101112
  1. --- a/src/opkg-cl.c
  2. +++ b/src/opkg-cl.c
  3. @@ -207,6 +207,9 @@ args_parse(int argc, char *argv[])
  4. }
  5. }
  6. + if(!conf->conf_file && !conf->offline_root)
  7. + conf->conf_file = xstrdup("/etc/opkg.conf");
  8. +
  9. if (parse_err)
  10. return parse_err;
  11. else