From 1f61ee0886028344f421127ba5169282d33b9090 Mon Sep 17 00:00:00 2001 From: bug1 Date: Sat, 6 Oct 2001 02:40:20 +0000 Subject: Another part of Stafan's latest patch, when replacing a pre-existing package set its status correctly. git-svn-id: svn://busybox.net/trunk/busybox@3499 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- dpkg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dpkg.c') diff --git a/dpkg.c b/dpkg.c index 845cfa67b..a00697207 100644 --- a/dpkg.c +++ b/dpkg.c @@ -1420,6 +1420,8 @@ extern int dpkg_main(int argc, char **argv) * is written to the status file*/ status_node->status = search_name_hashtable("install reinstreq not-installed"); status_hashtable[status_num] = status_node; + } else { + status_hashtable[status_num]->status = search_name_hashtable("install reinstreq installed"); } } } -- cgit v1.2.3-55-g6feb