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

@@ -61,7 +61,7 @@ write_repo_pkgindex()
#
for i in $(echo $repodir/*.xbps); do
pkgname="$(basename ${i%%-[0-9]*.*.$xbps_machine.xbps})"
propsf="./var/cache/xbps/metadata/$pkgname/props.plist"
propsf="./var/db/xbps/metadata/$pkgname/props.plist"
cd $tmppkgdir && tar xfjp $i $propsf
if [ $? -ne 0 ]; then
msg_warn "Couldn't extract $(basename $i) metadata!"