feat(1.74): update custom gallery patch

This commit is contained in:
Baptiste Augrain
2022-11-12 10:09:54 +01:00
parent d0b246a9e1
commit de28e119be
3 changed files with 9 additions and 7 deletions

View File

@@ -14,12 +14,12 @@ REPLACEMENT="s|//[^/]+\.data\.microsoft\.com|//0\.0\.0\.0|g"
if is_gnu_sed; then
replace_with_debug () {
echo "found: ${2} (`date`)"
echo "found: ${2}"
sed -i -E "${1}" "${2}"
}
else
replace_with_debug () {
echo "found: ${2} (`date`)"
echo "found: ${2}"
sed -i '' -E "${1}" "${2}"
}
fi