opkg-cl: don't read feeds on opkg update
authorJo-Philipp Wich <jo@mein.io>
Sun, 3 May 2020 16:24:34 +0000 (18:24 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 3 May 2020 16:24:55 +0000 (18:24 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
src/opkg-cl.c

index a3ea5c139aa2221c0075796ead72212c731a66a6..351574b175bb049b8c445ed0306a6c23f027d408 100644 (file)
@@ -413,7 +413,8 @@ int main(int argc, char *argv[])
            !strcmp(cmd_name, "list-installed") ||
            !strcmp(cmd_name, "list_changed_conffiles") ||
            !strcmp(cmd_name, "list-changed-conffiles") ||
-           !strcmp(cmd_name, "status"))
+           !strcmp(cmd_name, "status") ||
+           !strcmp(cmd_name, "update"))
                noreadfeedsfile = 1;
 
        cmd = opkg_cmd_find(cmd_name);