[jhbuild] Don't show uninstallation message unless we're actually uninstalling the old version
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Don't show uninstallation message unless we're actually uninstalling the old version
- Date: Thu, 10 Jul 2014 22:38:04 +0000 (UTC)
commit afcbeff5e5a58c7e4e988c9a40b841340aaac809
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Thu Jul 10 22:36:30 2014 -0400
Don't show uninstallation message unless we're actually uninstalling the old version
Move the message about uninstall-before-install to be only shown
when we actually uninstall the old module.
jhbuild/modtypes/autotools.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index e1fa895..5f23320 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -322,10 +322,10 @@ class AutogenModule(MakeModule, DownloadableModule):
do_distcheck.error_phases = [PHASE_FORCE_CHECKOUT, PHASE_CONFIGURE]
def do_install(self, buildscript):
- buildscript.set_action(_('Uninstalling old installed version'), self)
if self.uninstall_before_install:
packagedb = buildscript.moduleset.packagedb
if packagedb.check(self.name):
+ buildscript.set_action(_('Uninstalling old installed version'), self)
packagedb.uninstall(self.name)
buildscript.set_action(_('Installing'), self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]