HEX
Server: nginx/1.24.0
System: Linux prod-btpayments-io 6.14.0-1018-aws #18~24.04.1-Ubuntu SMP Mon Nov 24 19:46:27 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: /var/lib/dpkg/info/appstream.postrm
#!/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

# Automatically added by dh_installdeb/13.14.1ubuntu5
dpkg-maintscript-helper rm_conffile /etc/appstream.conf 1.0.0-1 -- "$@"
# End automatically added section