diff options
author | Didier Richard | 2022-02-19 16:54:58 +0100 |
---|---|---|
committer | Didier Richard | 2022-02-19 16:54:58 +0100 |
commit | 5b43fee812f864cf77e65cba80f79e894fd7783c (patch) | |
tree | ea1b5d3d58ad67f9ea63b243673d71add700aa09 /fix-appstream-data.sh | |
parent | 3bbfc087c179e25e52954681bcca0edf9c1d9b81 (diff) | |
download | aur-5b43fee812f864cf77e65cba80f79e894fd7783c.tar.gz |
Upgrade
Test fix appstream
Diffstat (limited to 'fix-appstream-data.sh')
-rw-r--r-- | fix-appstream-data.sh | 2 |
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" |