From 5348fe96ce2b1aed546b92deda67a35a02ba7394 Mon Sep 17 00:00:00 2001 From: jj Date: Thu, 10 Apr 2025 20:00:30 +0000 Subject: [PATCH] utils/namesub: unreplace strings we don't wish to replace --- utils/name_substitution.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/utils/name_substitution.sh b/utils/name_substitution.sh index 781c8323..a3ff7113 100755 --- a/utils/name_substitution.sh +++ b/utils/name_substitution.sh @@ -6,9 +6,18 @@ SOURCE_DIR="$2" BACKUP_TAR_PATH="$3" REGEXES=( - 's/Chrome Web( S|s)tore/Web Store/g' - 's/Chrome Remote Desktop/Remote Desktop/g' + # stuff we don't want to replace + 's/(\w+) Root Program/\1_unreplace Root Program/g' + 's/(\w+) Web( S|s)tore/\1_unreplace Web Store/g' + 's/(\w+) Remote Desktop/\1_unreplace Remote Desktop/g' + 's/("BEGIN_LINK_CHROMIUM")(.*?Chromium)(.*?