From 11b22c73ed69a68f9070d85857e66d93c02f9ba4 Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Mon, 9 Jan 2006 13:07:34 +0000 Subject: Always call prerm/postrm regardless if the previous install had contents or not. svn path=/main/trunk/; revision=2556 --- pym/portage.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'pym/portage.py') diff --git a/pym/portage.py b/pym/portage.py index 692d52c33..0bf16c6be 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6058,12 +6058,11 @@ class dblink: outfile.flush() outfile.close() - if (oldcontents): - writemsg_stdout(">>> Safely unmerging already-installed instance...\n") - self.dbdir = self.dbpkgdir - self.unmerge(oldcontents,trimworld=0) - self.dbdir = self.dbtmpdir - writemsg_stdout(">>> original instance of package unmerged safely.\n") + writemsg_stdout(">>> Safely unmerging already-installed instance...\n") + self.dbdir = self.dbpkgdir + self.unmerge(oldcontents,trimworld=0) + self.dbdir = self.dbtmpdir + writemsg_stdout(">>> original instance of package unmerged safely.\n") # We hold both directory locks. self.dbdir = self.dbpkgdir -- cgit v1.2.3-1-g7c22