mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-19 23:32:02 +02:00
[ticket/14240] Fix packaging script for 3.2
PHPBB3-14240
This commit is contained in:
parent
2974353101
commit
f6171f0391
@ -196,9 +196,10 @@ if (sizeof($package->old_packages))
|
||||
*/
|
||||
$copy_relative_directories = array(
|
||||
'config/' => array(
|
||||
'recursive' => true,
|
||||
'copied' => false,
|
||||
'copy' => array(
|
||||
'config/*.yml' => 'config',
|
||||
'config/*' => 'config',
|
||||
),
|
||||
),
|
||||
);
|
||||
@ -256,7 +257,15 @@ if (sizeof($package->old_packages))
|
||||
}
|
||||
$source_dir_files = $package->locations['old_versions'] . $package->get('simple_name') . '/' . $source_dir_files;
|
||||
$destination_dir = $dest_filename_dir . '/install/update/new/' . $destination_dir;
|
||||
$package->run_command('cp ' . $source_dir_files . ' ' . $destination_dir);
|
||||
|
||||
if (isset($data['recursive']) && $data['recursive'])
|
||||
{
|
||||
$package->run_command('cp -Rp ' . $source_dir_files . ' ' . $destination_dir);
|
||||
}
|
||||
else
|
||||
{
|
||||
$package->run_command('cp ' . $source_dir_files . ' ' . $destination_dir);
|
||||
}
|
||||
}
|
||||
$copy_relative_directories[$reference]['copied'] = true;
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
# phpBB's config file (This line is needed because of the packager)
|
Loading…
x
Reference in New Issue
Block a user