Fixes missing \ and remove newline

On the last PR I introduced two formatting errors which should now be fixed.
This commit is contained in:
Rosenrot 2025-11-14 10:59:58 +01:00
commit 70fa25a6d6

View file

@ -133,8 +133,7 @@ if [ "${SETUP_TYPE,,}" = "auto" ]; then
print_notice "Autogenerating Configuration File"
### Replace Configuration directives
sed -i \
-e "s|<enable type=\"bool\" desc=\"Controls whether accessibility\(.*\)>.*</enable>|<enable type=\"bool\" desc=\"Controls whether accessibility\1>${ENABLE_ACCESSIBILITY,,}</enable>|"
-e "s|<enable type=\"bool\" desc=\"Controls whether accessibility\(.*\)>.*</enable>|<enable type=\"bool\" desc=\"Controls whether accessibility\1>${ENABLE_ACCESSIBILITY,,}</enable>|" \
/etc/coolwsd/coolwsd.xml
sed -i \