diff options
author | wiktor w brodlo <wiktor@brodlo.net> | 2011-07-06 16:42:28 +0000 |
---|---|---|
committer | wiktor w brodlo <wiktor@brodlo.net> | 2011-07-06 16:42:28 +0000 |
commit | 5f633eaeae25bdfb48602645983762b82765ac30 (patch) | |
tree | b08bb0ca4acac2d904736f3369132e5aad6b5df9 /gentoo | |
parent | gentoo/utils.py: Don't unmask everything (diff) | |
download | anaconda-5f633eaeae25bdfb48602645983762b82765ac30.tar.gz anaconda-5f633eaeae25bdfb48602645983762b82765ac30.tar.bz2 anaconda-5f633eaeae25bdfb48602645983762b82765ac30.zip |
gentoo/utils.py: language_packs_install: dummy
Diffstat (limited to 'gentoo')
-rw-r--r-- | gentoo/utils.py | 68 |
1 files changed, 2 insertions, 66 deletions
diff --git a/gentoo/utils.py b/gentoo/utils.py index 9b0507c..e689f68 100644 --- a/gentoo/utils.py +++ b/gentoo/utils.py @@ -949,73 +949,9 @@ class GentooInstall: self._progress.set_fraction(1) self._progress.set_text(_("Installation complete")) - #def language_packs_install(self): - # langpacks = self._get_installable_language_packs() - # if not langpacks: - # # all fine already - # return - - # question_text = _("The following language packs are available for " - # "download (you need Internet), would you like to install them?") + \ - # " [" + ', '.join(sorted(langpacks)) + "]" - # buttons = [_("Yes"), _("No")] - # answer = self._intf.messageWindow(_("Language packs download"), - # question_text, custom_icon="question", type="custom", - # custom_buttons = buttons) - # if answer == 1: # No - # return - - # chroot = self._root - # root = etpSys['rootdir'] - # if chroot != root: - # self._change_entropy_chroot(chroot) - - # try: + def language_packs_install(self): + return - # # update repos - # done = self.update_entropy_repositories() - # if not done: - # return - - # lang_matches = [self._entropy.atom_match(x) for x in langpacks] - # lang_matches = [x for x in lang_matches if x[0] != -1] - # if not lang_matches: - # msg = _("No language packs are available for download, sorry!") - # self._intf.messageWindow(_("Language packs"), msg, - # custom_icon="warning") - # return - - # calculate deps, use relaxed algo - # install_queue, conflicts_queue, status = \ - # self._entropy.get_install_queue(lang_matches, False, False, - # relaxed = True) - # if status != 0: - # msg = _("No language packs are available for install, sorry!") - # self._intf.messageWindow(_("Language packs"), msg, - # custom_icon="warning") - # return - - # # fetch packages - # for match in install_queue: - # dbc = self._entropy.open_repository(match[1]) - # langpack = dbc.retrieveAtom(match[0]) - # self._progress.set_text("%s: %s" % ( - # _("Downloading package"), langpack,)) - # self.install_package(None, match = match, silent = True, - # fetch = True) - - # # install packages - # for match in install_queue: - # dbc = self._entropy.open_repository(match[1]) - # langpack = dbc.retrieveAtom(match[0]) - # self._progress.set_text("%s: %s" % ( - # _("Installing package"), langpack,)) - # self.install_package(None, match = match, silent = True) - - # finally: - # if chroot != root: - # self._change_entropy_chroot(root) - # TODO: Obviously make it do the thing def setup_portage_mirrors(self): self._progress.set_label("%s: %s" % ( |