X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=blobdiff_plain;f=src%2Fopkg-cl.c;h=47e2056e5a754ba8efb6fa325cb9417e220fd958;hp=e0a4b2363316af7b01a7a735600524c2166d87b8;hb=e6e6c5a216340fc3238155163f2486f457d87e90;hpb=4ea955bc7e5575bc1d8b34c364591c47653f2cfd diff --git a/src/opkg-cl.c b/src/opkg-cl.c index e0a4b23..47e2056 100644 --- a/src/opkg-cl.c +++ b/src/opkg-cl.c @@ -387,7 +387,8 @@ int main(int argc, char *argv[]) cmd_name = argv[opts++]; - if (!strcmp(cmd_name, "print-architecture") || + if (!strcmp(cmd_name, "install") || + !strcmp(cmd_name, "print-architecture") || !strcmp(cmd_name, "print_architecture") || !strcmp(cmd_name, "print-installation-architecture") || !strcmp(cmd_name, "print_installation_architecture")) @@ -395,6 +396,7 @@ int main(int argc, char *argv[]) if (!strcmp(cmd_name, "flag") || !strcmp(cmd_name, "configure") || + !strcmp(cmd_name, "install") || !strcmp(cmd_name, "remove") || !strcmp(cmd_name, "files") || !strcmp(cmd_name, "search") || @@ -421,7 +423,7 @@ int main(int argc, char *argv[]) if (!nocheckfordirorfile) { if (!noreadfeedsfile) { - if (pkg_hash_load_feeds()) + if (pkg_hash_load_feeds(SF_NEED_DETAIL)) goto err1; }