diff options
author | tnut <tnut at nutyx dot com> | 2011-09-19 18:44:04 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-09-19 18:44:04 +0200 |
commit | f2d50cd37c0474191b7e2b86ad0cd1f486bf6be5 (patch) | |
tree | 493ec819c512b82ad8254c53eda737306e99d439 /gnome/post-install | |
parent | 0c8d2f4d3796708f5f2de6410fad4d1be54e0620 (diff) | |
download | gnome3-f2d50cd37c0474191b7e2b86ad0cd1f486bf6be5.tar.gz gnome3-f2d50cd37c0474191b7e2b86ad0cd1f486bf6be5.tar.bz2 gnome3-f2d50cd37c0474191b7e2b86ad0cd1f486bf6be5.tar.xz gnome3-f2d50cd37c0474191b7e2b86ad0cd1f486bf6be5.zip |
gnome, ajout README et ajustement des dépendances
Diffstat (limited to 'gnome/post-install')
-rwxr-xr-x | gnome/post-install | 59 |
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 |