~ubuntu-branches/ubuntu/quantal/lightning-extension/quantal

« back to all changes in this revision

Viewing changes to mozilla/toolkit/mozapps/installer/Packager.pm

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-06-20 23:50:32 UTC
  • mfrom: (1.3.2)
  • Revision ID: package-import@ubuntu.com-20120620235032-fx5tuhrswvsju9z3
Tags: 1.6~b1+build1-0ubuntu1
New upstream release from the beta channel (CALENDAR_1_6b1_BUILD1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
234
234
 
235
235
  # set the destination path, if alternate destination given, use it.
236
236
  if ($flat) {
237
 
    if ($srcsuffix eq ".manifest" && $srcpath =~ m'/(chrome|components)/$') {
 
237
    # WebappRuntime has manifests that shouldn't be flattened, even though it
 
238
    # gets packaged with Firefox, which does get flattened, so special-case it.
 
239
    if ($srcsuffix eq ".manifest" && $srcpath =~ m'/(chrome|components)/$' &&
 
240
        $component ne "WebappRuntime") {
238
241
      my $subdir = $1;
239
242
      if ($component eq "") {
240
243
        die ("Manifest file was not part of a component.");