#!/bin/sh # postrm script for appstream set -e if [ "$1" = "purge" ]; then # remove the AppStream global cache rm -rf /var/cache/swcatalog/cache rmdir /var/cache/swcatalog/ | true # remove the AppStream data fetched via APT rm -rf /var/lib/swcatalog fi