Changed XBPS_META_PATH to /var/db/xbps rather than /var/cache/xbps.

--HG--
extra : convert_revision : 4e10af13ce05f060ebdfa8ca4e767a269c46b17f
This commit is contained in:
Juan RP
2009-02-14 23:21:12 +01:00
parent 1629f71053
commit 902fb71aa6
6 changed files with 14 additions and 20 deletions

View File

@@ -10,13 +10,13 @@ with bzip2 and has the following structure:
/var ------| => Package structure that will be installed.
/etc ------|
...
/var/cache/xbps/metadata/$pkgname
/var/cache/xbps/metadata/$pkgname/flist
/var/cache/xbps/metadata/$pkgname/props.plist
/var/cache/xbps/metadata/$pkgname/prepost-inst
/var/cache/xbps/metadata/$pkgname/prepost-rm
/var/db/xbps/metadata/$pkgname
/var/db/xbps/metadata/$pkgname/flist
/var/db/xbps/metadata/$pkgname/props.plist
/var/db/xbps/metadata/$pkgname/prepost-inst
/var/db/xbps/metadata/$pkgname/prepost-rm
Metadata info is stored in the "/var/cache/xbps/metadata/$pkgname"
Metadata info is stored in the "/var/db/xbps/metadata/$pkgname"
directory and two files will be always be present: flist and props.plist.
The flist file contains the list of files that the package will
@@ -87,7 +87,7 @@ index, add the repository into the pool and install the binary package.
Please note that by default, the xbps-* utils accept the -r flag, to specify
the root directory for all operations, in that case the package will be
installed into <rootdir> and metadata files into <rootdir>/var/cache/xbps.
installed into <rootdir> and metadata files into <rootdir>/var/db/xbps.
Don't forget to set this flag if you aren't using xbps as the primary
package manager in your system, otherwise it could overwrite some files!

View File

@@ -19,7 +19,7 @@ main dictionary to specify more info, like:
a remote location specified with "location-remote".
The package dictionary will be the same than the one available in
package's metadata directory "/var/cache/xbps/metadata/$pkgname/props.plist",
package's metadata directory "/var/db/xbps/metadata/$pkgname/props.plist",
but some additional objects are added to provide enough info for
the repository itself: