FreeBSD Bugzilla – Attachment 138172 Details for
Bug 184051
Update configuration example for staging
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
freebsd-docs-stagingexample.diff
freebsd-docs-stagingexample.diff (text/plain), 3.66 KB, created by
Alan Hicks
on 2013-11-18 13:30:02 UTC
(
hide
)
Description:
freebsd-docs-stagingexample.diff
Filename:
MIME Type:
Creator:
Alan Hicks
Created:
2013-11-18 13:30:02 UTC
Size:
3.66 KB
patch
obsolete
>Index: de_DE.ISO8859-1/books/porters-handbook/book.xml >=================================================================== >--- de_DE.ISO8859-1/books/porters-handbook/book.xml (revision 43202) >+++ de_DE.ISO8859-1/books/porters-handbook/book.xml (working copy) >@@ -9852,8 +9852,8 @@ > <para>Beispiel aus einem <filename>Makefile</filename>:</para> > > <programlisting>post-install: >- @if [ ! -f ${PREFIX}/etc/orbit.conf ]; then \ >- ${CP} -p ${PREFIX}/etc/orbit.conf.sample ${PREFIX}/etc/orbit.conf ; \ >+ @if [ ! -f ${STAGEDIR}${PREFIX}/etc/orbit.conf ]; then \ >+ ${CP} -p ${STAGEDIR}${PREFIX}/etc/orbit.conf.sample ${STAGEDIR}${PREFIX}/etc/orbit.conf ; \ > fi</programlisting> > > <para>Beispiel aus einer <filename>pkg-plist</filename>:</para> >Index: en_US.ISO8859-1/books/porters-handbook/book.xml >=================================================================== >--- en_US.ISO8859-1/books/porters-handbook/book.xml (revision 43202) >+++ en_US.ISO8859-1/books/porters-handbook/book.xml (working copy) >@@ -10269,8 +10269,8 @@ > <para>Example of the <filename>Makefile</filename> part:</para> > > <programlisting>post-install: >- @if [ ! -f ${PREFIX}/etc/orbit.conf ]; then \ >- ${CP} -p ${PREFIX}/etc/orbit.conf.sample ${STAGEDIR}${PREFIX}/etc/orbit.conf ; \ >+ @if [ ! -f ${STAGEDIR}${PREFIX}/etc/orbit.conf ]; then \ >+ ${CP} -p ${STAGEDIR}${PREFIX}/etc/orbit.conf.sample ${STAGEDIR}${PREFIX}/etc/orbit.conf ; \ > fi</programlisting> > > <para>For each configuration file, create the following three >Index: ru_RU.KOI8-R/books/porters-handbook/book.xml >=================================================================== >--- ru_RU.KOI8-R/books/porters-handbook/book.xml (revision 43202) >+++ ru_RU.KOI8-R/books/porters-handbook/book.xml (working copy) >@@ -10035,8 +10035,8 @@ > <para>ðÒÉÍÅÒ ÞÁÓÔÉ <filename>Makefile</filename>:</para> > > <programlisting>post-install: >- @if [ ! -f ${PREFIX}/etc/orbit.conf ]; then \ >- ${CP} -p ${PREFIX}/etc/orbit.conf.sample ${PREFIX}/etc/orbit.conf ; \ >+ @if [ ! -f ${STAGEDIR}${PREFIX}/etc/orbit.conf ]; then \ >+ ${CP} -p ${STAGEDIR}${PREFIX}/etc/orbit.conf.sample ${STAGEDIR}${PREFIX}/etc/orbit.conf ; \ > fi</programlisting> > > <para>äÏÂÁרÔÅ ÐÏ ÔÒÉ ÓÔÒÏËÉ × <filename>pkg-plist</filename> ÄÌÑ >Index: zh_CN.UTF-8/books/porters-handbook/book.xml >=================================================================== >--- zh_CN.UTF-8/books/porters-handbook/book.xml (revision 43202) >+++ zh_CN.UTF-8/books/porters-handbook/book.xml (working copy) >@@ -8533,8 +8533,8 @@ > <para>示ä¾ç <filename>Makefile</filename> é¨åï¼</para> > > <programlisting>post-install: >- @if [ ! -f ${PREFIX}/etc/orbit.conf ]; then \ >- ${CP} -p ${PREFIX}/etc/orbit.conf.sample ${PREFIX}/etc/orbit.conf ; \ >+ @if [ ! -f ${STAGEDIR}${PREFIX}/etc/orbit.conf ]; then \ >+ ${CP} -p ${STAGEDIR}${PREFIX}/etc/orbit.conf.sample ${STAGEDIR}${PREFIX}/etc/orbit.conf ; \ > fi</programlisting> > > <para>示ä¾ç <filename>pkg-plist</filename> é¨åï¼</para> >Index: zh_TW.Big5/books/porters-handbook/book.xml >=================================================================== >--- zh_TW.Big5/books/porters-handbook/book.xml (revision 43202) >+++ zh_TW.Big5/books/porters-handbook/book.xml (working copy) >@@ -8287,8 +8287,8 @@ > <para>Example of the <filename>Makefile</filename> part:</para> > > <programlisting>post-install: >- @if [ ! -f ${PREFIX}/etc/orbit.conf ]; then \ >- ${CP} -p ${PREFIX}/etc/orbit.conf.sample ${PREFIX}/etc/orbit.conf ; \ >+ @if [ ! -f ${STAGEDIR}${PREFIX}/etc/orbit.conf ]; then \ >+ ${CP} -p ${STAGEDIR}${PREFIX}/etc/orbit.conf.sample ${STAGEDIR}${PREFIX}/etc/orbit.conf ; \ > fi</programlisting> > > <para>Example of the <filename>pkg-plist</filename> part:</para>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 184051
: 138172