summaryrefslogtreecommitdiffstats
path: root/gnome/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'gnome/post-install')
-rwxr-xr-xgnome/post-install59
1 files changed, 0 insertions, 59 deletions
diff --git a/gnome/post-install b/gnome/post-install
deleted file mode 100755
index eb411ca..0000000
--- a/gnome/post-install
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-if [ ! -d /etc/gconf/gconf.xml.system ]; then
- mkdir -p /etc/gconf/gconf.xml.system
-fi
-chmod 755 /etc/gconf/gconf.xml.system
-
-# sauvegarde l'inittab
-cp /etc/inittab /etc/inittab.bak
-
-# modifie l'inittab pour booter automatiquement sous GDM
-sed -i "s/^id:[3-5]/id:4/" /etc/inittab
-sed -i "s/lxdm/gdm/" /etc/inittab
-
-# glib schemas
-echo "Compilation des schemas GLib"
-/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
-
-# desktop database
-echo "Mise à jour de la base de donnée desktop"
-update-desktop-database > /dev/null
-
-# update icons cache
-echo "Mise à jour du cache des icônes"
-gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-
-# mime database
-echo "Mise à jour de la base de donnée mime"
-update-mime-database /usr/share/mime > /dev/null
-
-# gconf schemas
-echo "Installation des schemas GConf"
-for port in `pkginfo -i |awk '{print $1}'`
-do
- SCHEMA="`pkginfo -l $port | grep usr/share/gconf/schemas`"
- [[ "$SCHEMA" != "" ]] && echo "Installation du paquet de schemas de $port"
- [[ "$SCHEMA" != "" ]] && /usr/sbin/gconfpkg --install $port
-
- SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
-
- for SCHEMA in $SCHEMAS
- do
- echo "Installation du schema $SCHEMAS de $port"
- export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
- /usr/bin/gconftool-2 --makefile-install-rule /$SCHEMA > /dev/null
- done
-done
-
-# scrolls
-echo "Installation des scrolls"
-for port in `pkginfo -i |awk '{print $1}'`
-do
- SCROLLS="`pkginfo -l $port | grep usr/share/omf/.*\.omf$`"
-
- for SCROLL in $SCROLLS
- do
- echo "Installation du scroll $SCROLL de $port"
- /usr/bin/scrollkeeper-install -q -p /var/lib/scrollkeeper /$SCROLL > /dev/null
- done
-done