fwupd/contrib/debian/fwupd.postrm
2017-09-19 14:25:25 -05:00

15 lines
273 B
Bash

#!/bin/sh
set -e
#DEBHELPER#
if [ "$1" = purge ]; then
rm -rf /var/lib/fwupd/gnupg
rm -f /var/cache/app-info/xmls/fwupd.xml
fi
if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
dpkg-maintscript-helper rm_conffile \
/etc/fwupd.conf 1.0.0~ -- "$@"
fi