summaryrefslogtreecommitdiffstats
path: root/gdm/post-install
blob: a78c64d5ab9726bf313332621a4e4f116e2ec5b7 (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
#!/bin/sh

port=gdm

# corrige le répertoire de gdm
sed "s|gdm:x:21:21:GDM Daemon User:/dev/null:/sbin/nologin|gdm:x:21:21:GDM Daemon User:/var/gdm:/sbin/nologin|" -i /etc/passwd

# gconf schemas
gconfpkg --install $port

# 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
	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