summarylogtreecommitdiffstats
path: root/fix-appstream-data.sh
diff options
context:
space:
mode:
authorZeph2021-06-11 00:10:26 +0200
committerZeph2021-06-11 00:10:26 +0200
commit24c3d779dfd8911a0127291dd83a62ec718bd12b (patch)
tree10025b349b84a226c746597c66cb79f9b6d9bab0 /fix-appstream-data.sh
parent61a425ffe08f1527b0a0564f16f12994e5bd2fb2 (diff)
downloadaur-24c3d779dfd8911a0127291dd83a62ec718bd12b.tar.gz
V10.1.3 fix pacman 6.0
Diffstat (limited to 'fix-appstream-data.sh')
-rw-r--r--fix-appstream-data.sh10
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