Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37753777
en ru br
ALT Linux repositórios
S:5.27.8-alt1

Group :: Desktop gráfico/KDE
RPM: plasma5-kinfocenter

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: alt-no-aha-tool.patch
Download


--- 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:]]+)@<a href="\1">\1</a>@g'
+FWUPDMGR=fwupdmgr
+echo | $FWUPDMGR security --force 2>&1 |  kinfocenter5-ansi2html.sh | sed -E 's@(https:[^[:space:]]+)@<a href="\1">\1</a>@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);
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009