Improve BINPKG_INFO/REPOSITORY doc files.

--HG--
extra : convert_revision : 7a09f2d04e98d26d13b6a632e3c91eabe61af341
This commit is contained in:
Juan RP 2008-12-29 16:22:55 +01:00
parent 68d2bbe8fb
commit 3bb459b493
2 changed files with 6 additions and 5 deletions

View File

@ -56,9 +56,10 @@ has the following structure:
...
</dict>
This plist might be extended in the future; additional scripts might be
added to trigger actions at pre/post installation/removal of the
binary package.
The prepost-action is an executable script/command that allows you to
trigger any action at pre/post installation/removal of the binary
package. If return value is not 0, the package won't be registered into
the database.
The package's dictionary will also be written into the repository's package
index file, that describes information about a binary package on it.

View File

@ -67,13 +67,13 @@ Here's how the package index plist file shall look like in a repository:
To build binary packages from all currently installed packages in
XBPS_MASTERDIR:
$ xbps-src.sh build-pkg all
$ xbps-src build-pkg all
To generate the repository package index in default location
XBPS_PACKAGESDIR (an additional path can be specified for another
alternate location):
$ xbps-src.sh genindex
$ xbps-src genindex
After this you can add your own local repository with binary packages: