blob: d441bb310a60e8cf4c4443644e3c6cceaeae659b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
update_icons() {
# Setup Menus
if which update-desktop-database
then
update-desktop-database -q /usr/share/applications > /dev/null 2>&1
fi
# Setup MIME types
if which update-mime-database
then
update-mime-database /usr/share/mime > /dev/null 2>&1
fi
}
post_install() {
update_icons
echo ">> Activate FFTW3- and libHaru(PDF)-support:"
echo ">> See Preferences-->Micellaneous and see whether the libraries are usable and activated."
}
post_upgrade() {
post_install
}
post_remove() {
update_icons
}
|