summarylogtreecommitdiffstats
path: root/fix-appstream-data.sh
diff options
context:
space:
mode:
authorDidier Richard2022-02-19 16:54:58 +0100
committerDidier Richard2022-02-19 16:54:58 +0100
commit5b43fee812f864cf77e65cba80f79e894fd7783c (patch)
treeea1b5d3d58ad67f9ea63b243673d71add700aa09 /fix-appstream-data.sh
parent3bbfc087c179e25e52954681bcca0edf9c1d9b81 (diff)
downloadaur-5b43fee812f864cf77e65cba80f79e894fd7783c.tar.gz
Upgrade
Test fix appstream
Diffstat (limited to 'fix-appstream-data.sh')
-rw-r--r--fix-appstream-data.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/fix-appstream-data.sh b/fix-appstream-data.sh
index e6c365c059b5..6b0ed4fa9fd8 100644
--- a/fix-appstream-data.sh
+++ b/fix-appstream-data.sh
@@ -2,7 +2,7 @@
tmp="/tmp/fix-appstream-data"
while read -r archive; do
if [[ $(zcat "${archive}" | grep -cm1 '<em>') == "1" ]]; then
- zcat "${archive}" | sed 's|<em>||g;s|<\/em>||g;s|<strong>||g;s|<\/strong>||g' | gzip > "${tmp}"
+ zcat "${archive}" | sed 's|<em>||g;s|<\/em>||g;' | sed 's|<code>||g;s|<\/code>||g;'| gzip > "${tmp}"
cp "${tmp}" "${archive}"
rm "${tmp}"
echo " archive ${archive} fixed"