summarylogtreecommitdiffstats
path: root/fix-appstream-data.hook
diff options
context:
space:
mode:
authorDidier Richard2020-12-21 09:23:30 +0100
committerDidier Richard2020-12-21 09:23:30 +0100
commit4bee0c606a9918e425db4ad47afd19b82bcfcd74 (patch)
tree217812d44b1e5e85128e01383d02a627a1f5c9d0 /fix-appstream-data.hook
parent68e88313be37ff4bc58c4c720a087875355397e1 (diff)
downloadaur-4bee0c606a9918e425db4ad47afd19b82bcfcd74.tar.gz
V10.0.1
Add hook fix appstream
Diffstat (limited to 'fix-appstream-data.hook')
-rw-r--r--fix-appstream-data.hook14
1 files changed, 14 insertions, 0 deletions
diff --git a/fix-appstream-data.hook b/fix-appstream-data.hook
new file mode 100644
index 000000000000..9bdff11a3a3e
--- /dev/null
+++ b/fix-appstream-data.hook
@@ -0,0 +1,14 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Path
+Target = usr/share/app-info/xmls/*.xml.gz
+
+# attention: hook name before: update-appstream-cache.hook
+
+[Action]
+Description = fix appstream datas for pamac
+When = PostTransaction
+Depends = gzip
+Exec = /etc/pacman.d/hooks.bin/fix-appstream-data.sh
+NeedsTargets