svn commit: r53304 - head/en_US.ISO8859-1/books/porters-handbook/pkg-files
Mathieu Arnold
mat at FreeBSD.org
Tue Aug 13 14:41:23 UTC 2019
Author: mat
Date: Tue Aug 13 14:41:22 2019
New Revision: 53304
URL: https://svnweb.freebsd.org/changeset/doc/53304
Log:
Change the order of the fields in the pkg-message UCL examples. To show
how to better write them, the message is often long, and it is easier to
see the type and other fields if they are at the beginning.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml Fri Aug 9 20:24:01 2019 (r53303)
+++ head/en_US.ISO8859-1/books/porters-handbook/pkg-files/chapter.xml Tue Aug 13 14:41:22 2019 (r53304)
@@ -260,10 +260,10 @@ EOD
<programlisting>[
{
- message: "package being removed."
type: remove
+ message: "package being removed."
}
-{ message: "package being installed.", type: install }
+{ type: install, message: "package being installed."}
]</programlisting>
</example>
@@ -275,24 +275,24 @@ EOD
<programlisting>[
{
- message: "Package is being upgraded."
type: upgrade
+ message: "Package is being upgraded."
}
{
- message: "Upgrading from before 1.0 need to do this."
- maximum_version: "1.0"
type: upgrade
+ maximum_version: "1.0"
+ message: "Upgrading from before 1.0 need to do this."
}
{
- message: "Upgrading from after 1.0 should do that."
- minimum_version: "1.0"
type: upgrade
+ minimum_version: "1.0"
+ message: "Upgrading from after 1.0 should do that."
}
{
- message: "Upgrading from > 1.0 and < 3.0 remove that file."
+ type: upgrade
maximum_version: "3.0"
minimum_version: "1.0"
- type: upgrade
+ message: "Upgrading from > 1.0 and < 3.0 remove that file."
}
]</programlisting>
</example>
More information about the svn-doc-head
mailing list