summarylogtreecommitdiffstats
path: root/pamac.install
diff options
context:
space:
mode:
Diffstat (limited to 'pamac.install')
-rw-r--r--pamac.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/pamac.install b/pamac.install
index 735605944888..66e973fef598 100644
--- a/pamac.install
+++ b/pamac.install
@@ -10,6 +10,12 @@ post_install() {
printf ' for other desktop environments.\n'
}
+post-update {
+ zcat /usr/share/app-info/xmls/community.xml.gz | sed 's|<em>||g;s|<\/em>||g;' | gzip > "new.xml.gz"
+ cp new.xml.gz /usr/share/app-info/xmls/community.xml.gz
+ appstreamcli refresh-cache --force
+}
+
post_remove() {
# disable systemd timers
rm -f /etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer