SHA256
1
0
forked from pool/gpxsee
gpxsee/debian.postrm

28 lines
439 B
Bash

#!/bin/sh
case "$1" in
purge)
;;
remove)
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database /usr/share/mime > /dev/null
fi
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database > /dev/null
fi
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0