summaryrefslogtreecommitdiffstats
path: root/gdm/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'gdm/post-install')
-rwxr-xr-xgdm/post-install22
1 files changed, 18 insertions, 4 deletions
diff --git a/gdm/post-install b/gdm/post-install
index 66c0fb8..a78c64d 100755
--- a/gdm/post-install
+++ b/gdm/post-install
@@ -2,14 +2,28 @@
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 > /dev/null
+update-desktop-database -q
# icon cache
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-# gconf schemas
-gconfpkg --install $port
-
# End of file