diff options
Diffstat (limited to 'fix-appstream-data.sh')
-rw-r--r-- | fix-appstream-data.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fix-appstream-data.sh b/fix-appstream-data.sh deleted file mode 100644 index e6c365c059b5..000000000000 --- a/fix-appstream-data.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -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}" - cp "${tmp}" "${archive}" - rm "${tmp}" - echo " archive ${archive} fixed" - fi -done |