summaryrefslogtreecommitdiffstats
path: root/gnome-packagekit/post-install
blob: 28278325689360d0bcddb09eafab3d95f96b3fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh


port=gnome-packagekit

# glib schemas
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas

# scrolls
SCROLLS="`pkginfo -l $port | grep usr/share/omf/.*\.omf$`"

for SCROLL in $SCROLLS
do
	/usr/bin/scrollkeeper-install -q -p /var/lib/scrollkeeper /$SCROLL > /dev/null
done

# desktop database
update-desktop-database -q

# icon cache
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor

# End of file