From 6f7d060fc3ee39731fdfb984ec54da52409e615a Mon Sep 17 00:00:00 2001 From: Ted Bowman <ted+git@tedbow.com> Date: Sat, 18 Mar 2023 10:50:10 -0400 Subject: [PATCH] Issue #3341974 by tedbow: Remove old PackageManagerFixtureCreator.php --- scripts/src/Converter.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/src/Converter.php b/scripts/src/Converter.php index c8be07592f..ee8e53418f 100644 --- a/scripts/src/Converter.php +++ b/scripts/src/Converter.php @@ -69,6 +69,7 @@ class Converter { self::info('Mirrored into core module'); $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); $script_replacements = [ "__DIR__ . '/../../../autoload.php'" => "__DIR__ . '/../../autoload.php'", @@ -132,6 +133,7 @@ class Converter { static::addWordsToDictionary($core_dir, self::getContribDir() . "/dictionary.txt"); self::info("Added to dictionary"); + $fs->chmod($new_script_path, 0644); if (self::RUN_CHECKS) { static::runCoreChecks($core_dir); self::info('Ran core checks'); -- GitLab