Skip to content
Snippets Groups Projects
Commit 6f7d060f authored by Ted Bowman's avatar Ted Bowman
Browse files

Issue #3341974 by tedbow: Remove old PackageManagerFixtureCreator.php

parent cd248f77
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,7 @@ class Converter { ...@@ -69,6 +69,7 @@ class Converter {
self::info('Mirrored into core module'); self::info('Mirrored into core module');
$new_script_path = "$core_dir/core/scripts/PackageManagerFixtureCreator.php"; $new_script_path = "$core_dir/core/scripts/PackageManagerFixtureCreator.php";
$fs->remove($new_script_path);
$fs->rename($core_module_path . '/scripts/PackageManagerFixtureCreator.php', $new_script_path); $fs->rename($core_module_path . '/scripts/PackageManagerFixtureCreator.php', $new_script_path);
$script_replacements = [ $script_replacements = [
"__DIR__ . '/../../../autoload.php'" => "__DIR__ . '/../../autoload.php'", "__DIR__ . '/../../../autoload.php'" => "__DIR__ . '/../../autoload.php'",
...@@ -132,6 +133,7 @@ class Converter { ...@@ -132,6 +133,7 @@ class Converter {
static::addWordsToDictionary($core_dir, self::getContribDir() . "/dictionary.txt"); static::addWordsToDictionary($core_dir, self::getContribDir() . "/dictionary.txt");
self::info("Added to dictionary"); self::info("Added to dictionary");
$fs->chmod($new_script_path, 0644);
if (self::RUN_CHECKS) { if (self::RUN_CHECKS) {
static::runCoreChecks($core_dir); static::runCoreChecks($core_dir);
self::info('Ran core checks'); self::info('Ran core checks');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment