aboutsummaryrefslogtreecommitdiffstats
path: root/community/appstream/appstream.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/appstream/appstream.post-install')
-rw-r--r--community/appstream/appstream.post-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/appstream/appstream.post-install b/community/appstream/appstream.post-install
index 5a63845bb85..6d876bb24ea 100644
--- a/community/appstream/appstream.post-install
+++ b/community/appstream/appstream.post-install
@@ -3,4 +3,10 @@
umask 022
/usr/bin/appstreamcli refresh-cache --force
+# /var/cache/app-info was replaced by /var/cache/swcatalog
+# Remove this lines once 0.15.3 or greater is available in two
+# consecutive releases
+rm -rf /var/cache/app-info/cache
+test -d /var/cache/app-info && rmdir --ignore-fail-on-non-empty /var/cache/app-info
+
exit 0