summaryrefslogtreecommitdiff
path: root/community/gerbv/gerbv.install
blob: 8cfe0686c765c77c1aca4e1cd31e6fa1a9fc3cb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
post_install() {
if [ -x /usr/bin/gtk-update-icon-cache ]; then
   echo Updating icon cache...
   /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
fi
if [ -x /usr/bin/update-desktop-database ]; then
   echo Updating desktop database..
   /usr/bin/update-desktop-database /usr/share/applications
fi
}
 
post_upgrade() {
if [ -x /usr/bin/gtk-update-icon-cache ]; then
   echo Updating icon cache...
   /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
fi
if [ -x /usr/bin/update-desktop-database ]; then
   echo Updating desktop database..
   /usr/bin/update-desktop-database /usr/share/applications
fi
}