aboutsummaryrefslogtreecommitdiff
path: root/packages/linux_make/debian/pd-extended.postrm
blob: f55a6e5ca3654561de324006d263362e39861c1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# this was is stoled from audacity.postrm and audacity-data.postrm
set -e

if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi

if which update-mime >/dev/null 2>&1; then update-mime; fi

if [ "$1" = "remove" ] && which update-desktop-database >/dev/null 2>&1 ; then
	update-desktop-database -q
fi

if [ -x "`which update-mime-database 2>/dev/null`" ]; then
	update-mime-database /usr/share/mime
fi

#DEBHELPER#