Commit c358328d authored by Pablo Correa Gomez's avatar Pablo Correa Gomez Committed by Rasmus Thomsen
Browse files

community/appstream: remove old cache directory in post-upgrade

parent f5510998
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment