make index & make fetchindex
bsd
bsd at todoo.biz
Sun Nov 27 09:11:16 GMT 2005
Hello,
I have a little script that I run twice a week that updates my ports
automatically.
I have quite often errors with the "make index" line because I have a
refuse file to fasten the process of updating my server.
My question is : can I safely replace the "make index" by the a "make
fetchindex" ?
What will be the main differences if I do so ?
What are the risks ?
> #!/bin/sh
>
> if SERVER=`/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/
> date`" gregober
________________________________________________
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz
________________________________________________
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
More information about the freebsd-questions
mailing list