--- a/Modules/firmware_security/package/contents/code/fwupdmgr.sh +++ b/Modules/firmware_security/package/contents/code/fwupdmgr.sh @@ -5,4 +5,5 @@ set -e # For sed testing please use --posix on GNU sed so you don't end up using gnu-isms. -fwupdmgr security --force 2>&1 | aha | sed -E 's@(https:[^[:space:]]+)@\1@g' +FWUPDMGR=fwupdmgr +echo | $FWUPDMGR security --force 2>&1 | kinfocenter5-ansi2html.sh | sed -E 's@(https:[^[:space:]]+)@\1@g' --- a/Modules/firmware_security/main.cpp +++ b/Modules/firmware_security/main.cpp @@ -30,7 +30,7 @@ public: package.setDefaultPackageRoot(QStringLiteral("kpackage/kcms")); package.setPath(about->componentName()); - auto outputContext = new CommandOutputContext({QStringLiteral("fwupdmgr"), QStringLiteral("aha")}, + auto outputContext = new CommandOutputContext({QStringLiteral("fwupdmgr"), QStringLiteral("kinfocenter5-ansi2html.sh")}, QStringLiteral("/bin/sh"), {package.path() + QStringLiteral("contents/code/fwupdmgr.sh")}, parent);