Christophe Gaubert a écrit :
Le 10/01/07, jcco1 a écrit :

updatedb
[EMAIL PROTECTED] jcco]# updatedb
/usr/bin/slocate: option requires an argument -- l

Le script updatedb est buggué sous mdv 2007 (tiens, faudrait que je
fasse un rapport de bug). Je l'ai modifié à la main pour réparer ça.

$ cat /usr/bin/updatedb
#!/bin/sh
# (c) MandrakeSoft.
# Chmouel Boudjnah <[EMAIL PROTECTED]>
#
# Modified 20010109 by Francis Galiegue <[EMAIL PROTECTED]>
#
# Fixes by [EMAIL PROTECTED]

# No need to source /etc/updatedb.conf. Use the -c option, that's what
it's # for...

source /etc/updatedb.conf
/usr/bin/slocate -u $@


------------------------------------------------------------------------

finalement c'est pratique ce fil avec flash écrit de travers et qui sert à tout, hein ?

raber

=========================================
Vous souhaitez acquerir votre pack ou des services Mandriva?
Rendez-vous sur "http://store.mandriva.com";.
Rejoignez le club Mandriva : http://club.mandriva.com
=========================================

Répondre à