2016-06-01 23:48:17 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
purge)
|
|
|
|
;;
|
|
|
|
|
|
|
|
remove)
|
2016-11-08 10:46:33 +01:00
|
|
|
if [ -x /usr/bin/update-mime-database ]; then
|
|
|
|
/usr/bin/update-mime-database /usr/share/mime > /dev/null
|
|
|
|
fi
|
2016-06-01 23:48:17 +02:00
|
|
|
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
|