summarylogtreecommitdiffstats
path: root/fix-appstream-data.hook
diff options
context:
space:
mode:
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