From f2d50cd37c0474191b7e2b86ad0cd1f486bf6be5 Mon Sep 17 00:00:00 2001 From: tnut Date: Mon, 19 Sep 2011 18:44:04 +0200 Subject: gnome, ajout README et ajustement des dépendances MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gnome/post-install | 59 ------------------------------------------------------ 1 file changed, 59 deletions(-) delete mode 100755 gnome/post-install (limited to 'gnome/post-install') 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 -- cgit v1.2.3-70-g09d2