~ubuntu-langpack/langpack-o-matic/main

« back to all changes in this revision

Viewing changes to import

  • Committer: Martin Pitt
  • Date: 2011-12-16 11:06:30 UTC
  • Revision ID: martin.pitt@canonical.com-20111216110630-t6pjf2eyidu6y6yv
remove remaining XPI/Firefox handling, lucid and maverick switch to firefox-locale-* packages

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
# import our own libraries
26
26
sys.path.append('lib')
27
 
import pkg_classify, localeinfo, macros, makepkg, static_translations, xpi
 
27
import pkg_classify, localeinfo, macros, makepkg, static_translations
28
28
 
29
29
# global variables
30
30
locinfo = localeinfo.SupportedLocales()
224
224
                logging.debug('Adding static tarball %s', static_tar)
225
225
                shutil.move(static_tar, os.path.join(base_pkg, 'data', 'static.tar'))
226
226
 
227
 
        # add XPIs and Firefox search plugins
228
 
        if cls == '':
229
 
            xpi.install_xpis(release_version, locale, base_pkg)
230
 
 
231
227
        # sanity check: we just created -base, so the update package should not
232
228
        # be present
233
229
        if os.path.isdir(update_pkg):
353
349
            file = os.path.join(root, f)
354
350
            comp = file.split(os.sep)[-3:]
355
351
 
356
 
            # xpi PO files need special treatment; po2xpi is currently broken,
357
 
            # so ignore these for now
 
352
            # we do not do this any more with our Firefox packages
358
353
            if comp[0] == 'xpi':
359
354
                continue
360
355