file.pm (b274bc22) file.pm (fb67933c)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 613 unchanged lines hidden (view full) ---

622 $onefile->{'PostFinalFile'} = 1;
623 # $installer::globals::pfffileexists = 1;
624 # The sequence for this file has changed. It has to be inserted at the end of the files collector.
625 $installer::globals::insert_file_at_end = 1;
626 $installer::globals::newfilescollector{$sequence} = $onefile; # Adding new files to the end of the filescollector
627 $installer::globals::newfilesexist = 1;
628 }
629 }
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 613 unchanged lines hidden (view full) ---

622 $onefile->{'PostFinalFile'} = 1;
623 # $installer::globals::pfffileexists = 1;
624 # The sequence for this file has changed. It has to be inserted at the end of the files collector.
625 $installer::globals::insert_file_at_end = 1;
626 $installer::globals::newfilescollector{$sequence} = $onefile; # Adding new files to the end of the filescollector
627 $installer::globals::newfilesexist = 1;
628 }
629 }
630 elsif (( $onefile->{'assignedsequencenumber'} ) && ( $installer::globals::use_packages_for_cabs ))
631 {
632 $sequence = $onefile->{'assignedsequencenumber'};
633 }
634 else
635 {
636 $sequence = $number;
637 # my $sequence = $number + 1;
638
639 # Idea: Each component is packed into a cab file.
640 # This requires that all files in one cab file have sequences directly follwing each other,
641 # for instance from 1456 to 1466. Then in the media table the LastSequence for this cab file

--- 423 unchanged lines hidden ---
630 else
631 {
632 $sequence = $number;
633 # my $sequence = $number + 1;
634
635 # Idea: Each component is packed into a cab file.
636 # This requires that all files in one cab file have sequences directly follwing each other,
637 # for instance from 1456 to 1466. Then in the media table the LastSequence for this cab file

--- 423 unchanged lines hidden ---