summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich2020-05-03 16:24:34 +0000
committerJo-Philipp Wich2020-05-03 16:24:55 +0000
commit2a0210f42b6d90453a1eeeefd0e8e998c3bae1ea (patch)
treed4e3779414413f819d56d6454e33c991370177c7
parentb6f196764a30e75f4667ac68ad92c001dce19e91 (diff)
downloadopkg-lede-2a0210f42b6d90453a1eeeefd0e8e998c3bae1ea.tar.gz
opkg-cl: don't read feeds on opkg update
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--src/opkg-cl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opkg-cl.c b/src/opkg-cl.c
index a3ea5c1..351574b 100644
--- a/src/opkg-cl.c
+++ b/src/opkg-cl.c
@@ -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);