aboutsummaryrefslogtreecommitdiff
path: root/dpkg.c
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-06 02:40:20 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-06 02:40:20 +0000
commit1f61ee0886028344f421127ba5169282d33b9090 (patch)
tree2dc362163f3da202aadfac28f00d6bd6639d0b96 /dpkg.c
parente8ff5d0fb60617a1a4a18e400120d2fb760773c9 (diff)
downloadbusybox-w32-1f61ee0886028344f421127ba5169282d33b9090.tar.gz
busybox-w32-1f61ee0886028344f421127ba5169282d33b9090.tar.bz2
busybox-w32-1f61ee0886028344f421127ba5169282d33b9090.zip
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
Diffstat (limited to 'dpkg.c')
-rw-r--r--dpkg.c2
1 files changed, 2 insertions, 0 deletions
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)
1420 * is written to the status file*/ 1420 * is written to the status file*/
1421 status_node->status = search_name_hashtable("install reinstreq not-installed"); 1421 status_node->status = search_name_hashtable("install reinstreq not-installed");
1422 status_hashtable[status_num] = status_node; 1422 status_hashtable[status_num] = status_node;
1423 } else {
1424 status_hashtable[status_num]->status = search_name_hashtable("install reinstreq installed");
1423 } 1425 }
1424 } 1426 }
1425 } 1427 }