summarylogtreecommitdiffstats
path: root/petri-foo.install
blob: 5dd24bbe54122d9916dc8b8ea99e2f4bc10c9204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
updatedesktopdtb() {
	[ -x /usr/bin/update-desktop-database ] \
		&& update-desktop-database -q
	[ -x /usr/bin/update-mime-database ] \
		&& update-mime-database usr/share/mime > /dev/null 2>&1
}

post_install() {
	updatedesktopdtb
}

post_upgrade() {
	updatedesktopdtb
}

post_remove() {
	updatedesktopdtb
}