summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2011-10-12 23:24:10 (EDT)
committer graham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2011-10-12 23:24:10 (EDT)
commitf1b3f188be7a7464cfde1e30a162878ff9a0924b (patch)
tree85e5910c06e5bb5726a8aeb7bd9afb5f805b294e
parent233ba2355b56a731979f55d0df192260f24baad3 (diff)
Reverse the test for __dummy__ in the extra data.
Problem pointed out by akostopou@gmail.com. This needs revisiting. git-svn-id: http://opkg.googlecode.com/svn/trunk@629 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--libopkg/opkg_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c
index 6160b79..11e7867 100644
--- a/libopkg/opkg_cmd.c
+++ b/libopkg/opkg_cmd.c
@@ -153,7 +153,7 @@ opkg_update_cmd(int argc, char **argv)
src = (pkg_src_t *)iter->data;
- if (src->extra_data && strcmp(src->extra_data, "__dummy__ "))
+ if (src->extra_data && !strcmp(src->extra_data, "__dummy__ "))
continue;
if (src->extra_data) /* debian style? */