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
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
2
dpkg.c
2
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user