cvs commit: BLFS/BOOK/server/mail/postfix postfix-config.xml postfix-inst.xml postfix.ent

Nico R. n-roeser at gmx.net
Sun Apr 25 12:49:01 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

larry at linuxfromscratch.org wrote:

[...]
>   Index: postfix-config.xml
>   ===================================================================
>   RCS file:
>   /home/cvsroot/BLFS/BOOK/server/mail/postfix/postfix-config.xml,v
>   retrieving revision 1.14 retrieving revision 1.15
>   diff -u -r1.14 -r1.15
>   --- postfix-config.xml      27 Mar 2004 07:16:16 -0000      1.14
>   +++ postfix-config.xml      25 Apr 2004 15:57:35 -0000      1.15
>   @@ -34,7 +34,6 @@
>    
>    <screen><userinput><command>cp /etc/aliases /etc/aliases.bak
>    && cp /etc/postfix/main.cf /etc/postfix/main.cf.bak
>    &&
>   -cp /etc/postfix/master.cf /etc/postfix/master.cf.bak &&
>    sed "s/LOGIN/<replaceable>[user]</replaceable>/" /etc/aliases.bak >
>    /etc/aliases && sed "s/#myhostname =
>    host.domain.tld/myhostname = \
>    <replaceable>[localhost.localdomain]</replaceable>/" \

May I suggest 'sed -i' instead of the 'cp && sed' here?
- -- 
Nico
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAjBZExI5uhYOGv4URAuObAKDzQ/UNkIeQyLpz9HY/9ySSylnRdACg0a2S
Edo2ed2o9MxrVWTr+3pLpJ8=
=N0j7
-----END PGP SIGNATURE-----



More information about the blfs-book mailing list