From owner-freebsd-questions@FreeBSD.ORG Sun Nov 27 09:11:16 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3939216A41F for ; Sun, 27 Nov 2005 09:11:16 +0000 (GMT) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [195.115.46.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 163CF43D5D for ; Sun, 27 Nov 2005 09:11:14 +0000 (GMT) (envelope-from bsd@todoo.biz) Received: from localhost (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 39BE1285DD for ; Sun, 27 Nov 2005 10:11:13 +0100 (CET) Received: from newmail.rmm.fr ([127.0.0.1]) by localhost (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21552-04 for ; Sun, 27 Nov 2005 10:11:12 +0100 (CET) Received: from [10.0.1.201] (me.todoo.biz [82.66.93.242]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by newmail.rmm.fr (Postfix) with ESMTP id 2D1FC285D9 for ; Sun, 27 Nov 2005 10:11:12 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v746.2) Content-Transfer-Encoding: quoted-printable Message-Id: Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: Liste FreeBSD From: bsd Date: Sun, 27 Nov 2005 10:11:08 +0100 X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new at rmm.fr Subject: make index & make fetchindex X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 09:11:16 -0000 Hello, I have a little script that I run twice a week that updates my ports =20 automatically. I have quite often errors with the "make index" line because I have a =20= refuse file to fasten the process of updating my server. My question is : can I safely replace the "make index" by the a "make =20= fetchindex" ? What will be the main differences if I do so ? What are the risks ? > #!/bin/sh > > if SERVER=3D`/usr/local/bin/fastest_cvsup -Q -c fr,fr` > then > echo "Je fais tourner CVSUP" > /usr/local/bin/cvsup -L1 -h $SERVER /root/cvs-supfile > else > echo "Mmmh ! il y a un blem !!" 1>&2 > exit 1 > fi > > #echo "Je mets a jour docs" > #cd /usr/docs > #make install > > echo "Je mets a jour l'index des ports" > cd /usr/ports > make index > > echo "Les logiciels suivant necessitent une mise a jour : " > /usr/local/sbin/portversion -l "<" > > #echo "Je mets a jour les ports" > #portupgrade -arR > > echo "" > echo "J'ai fini pour le serveur newmail a `/bin/date`." > echo "" > cat /var/log/upgrade.log | mail -s "Portversion Newmail du `/bin/=20 > date`" gregober ________________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ________________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF