~ubuntu-branches/ubuntu/wily/ubuntu-release-upgrader/wily-proposed

« back to all changes in this revision

Viewing changes to DistUpgrade/DistUpgradeQuirks.py

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2014-12-12 09:10:56 UTC
  • Revision ID: package-import@ubuntu.com-20141212091056-1br8c5vw5ri0ygse
Tags: 1:15.04.3
* add compatbility for vte 2.90 (and we need to keep that until
  16.04)
* remove quirk around kdegames-card-data-extra (no longer available
  in vivid)

Show diffs side-by-side

added added

removed removed

Lines of Context:
572
572
                pass
573
573
            open(cfg, "w").write("foreign-architecture %s\n" % foreign_arch)
574
574
 
575
 
    def _add_kdegames_card_extra_if_installed(self):
576
 
        """ test if kdegames-card-data is installed and if so,
577
 
            add kdegames-card-data-extra so that users do not
578
 
            loose functionality (LP: #745396)
579
 
        """
580
 
        try:
581
 
            cache = self.controller.cache
582
 
            if not ("kdegames-card-data" in cache or
583
 
                    "kdegames-card-data-extra" in cache):
584
 
                return
585
 
            if (cache["kdegames-card-data"].is_installed or
586
 
                    cache["kdegames-card-data"].marked_install):
587
 
                cache.mark_install(
588
 
                    "kdegames-card-data-extra",
589
 
                    "kdegames-card-data -> k-c-d-extra transition")
590
 
        except:
591
 
            logging.exception("_add_kdegames_card_extra_if_installed failed")
592
 
 
593
575
    def ensure_recommends_are_installed_on_desktops(self):
594
576
        """ ensure that on a desktop install recommends are installed
595
577
            (LP: #759262)