summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archival/dpkg.c2
-rw-r--r--dpkg.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c
index 845cfa6..a006972 100644
--- a/archival/dpkg.c
+++ b/archival/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");
}
}
}
diff --git a/dpkg.c b/dpkg.c
index 845cfa6..a006972 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");
}
}
}