From 58891e358dda17e063d8b57c7924d2065d9bc978 Mon Sep 17 00:00:00 2001 From: sd109 Date: Wed, 1 May 2024 08:57:24 +0100 Subject: [PATCH] Make replacement URL clearer --- images/ui-base/purge-google-fonts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/ui-base/purge-google-fonts.sh b/images/ui-base/purge-google-fonts.sh index 4ceb65f..bc6cc96 100644 --- a/images/ui-base/purge-google-fonts.sh +++ b/images/ui-base/purge-google-fonts.sh @@ -10,7 +10,7 @@ declare -a LINKS=( "https://fonts.googleapis.com" "https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/.*/iframeResizer.contentWindow.min.js" ) -REPLACEMENT="no-GDPR-violations-here" +REPLACEMENT="external-url-removed-for-gdpr-compliance" for item in "${LINKS[@]}"; do find $SOURCE_CODE_PATH -name "*.html" -type f -exec sed -i s!$item!$REPLACEMENT!g {} \; done