Another part of Stafan's latest patch, when replacing a pre-existing package set its status correctly.
This commit is contained in:
parent
f28d819554
commit
30f68908ef
2 changed files with 4 additions and 0 deletions
|
@ -1420,6 +1420,8 @@ extern int dpkg_main(int argc, char **argv)
|
||||||
* is written to the status file*/
|
* is written to the status file*/
|
||||||
status_node->status = search_name_hashtable("install reinstreq not-installed");
|
status_node->status = search_name_hashtable("install reinstreq not-installed");
|
||||||
status_hashtable[status_num] = status_node;
|
status_hashtable[status_num] = status_node;
|
||||||
|
} else {
|
||||||
|
status_hashtable[status_num]->status = search_name_hashtable("install reinstreq installed");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
dpkg.c
2
dpkg.c
|
@ -1420,6 +1420,8 @@ extern int dpkg_main(int argc, char **argv)
|
||||||
* is written to the status file*/
|
* is written to the status file*/
|
||||||
status_node->status = search_name_hashtable("install reinstreq not-installed");
|
status_node->status = search_name_hashtable("install reinstreq not-installed");
|
||||||
status_hashtable[status_num] = status_node;
|
status_hashtable[status_num] = status_node;
|
||||||
|
} else {
|
||||||
|
status_hashtable[status_num]->status = search_name_hashtable("install reinstreq installed");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue