[CentOS-docs] Automated RPMForge Repository Installation Script for Tips & Tricks section

Vladislav Rastrusny FractalizeR at yandex.ru
Thu Jun 11 15:54:51 UTC 2009


> Sorry, but how is that supposed to be easier than this?
> http://dag.wieers.com/rpm/FAQ.php#B2
Yes, of course. You need to setup priorities plugin to prevent
damaging CentOS packages, import signing key etc.

>It would be much nicer if you could replace the "command ; if [ $? !=
>0 ] then echo ...; exit 1; with a sub. So you could do
> command || _myexit "Comment"
>
>You can als run all sed statements in a single sed call.
> sed -i -e 'replace1' -e 'replace2' -e 'replace3' <file>
Implemented all that, thank you very much. I am not good at bash
scripting, unfortunately :(

2009/6/11 Filipe Brandenburger <filbranden at gmail.com>:
> Hi,
>
> On Thu, Jun 11, 2009 at 10:01, Vladislav Rastrusny<FractalizeR at yandex.ru> wrote:
>> I have published an article under my homepage here:
>> http://wiki.centos.org/VladislavRastrusny/AutoRPMForgeRepo
>
> Sorry, but how is that supposed to be easier than this?
> http://dag.wieers.com/rpm/FAQ.php#B2
>
> Cheers,
> Filipe
> _______________________________________________
> CentOS-docs mailing list
> CentOS-docs at centos.org
> http://lists.centos.org/mailman/listinfo/centos-docs
>


More information about the CentOS-docs mailing list