genindex: $XBPS_DIGEST_CMD is no more.
--HG-- extra : convert_revision : a7945d1dc038b95cca840df61c44682a4e205058
This commit is contained in:
parent
e4f9ab62d8
commit
bf10932be1
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ write_repo_pkgindex()
|
||||||
propsf="./var/cache/xbps/metadata/$pkgname/props.plist"
|
propsf="./var/cache/xbps/metadata/$pkgname/props.plist"
|
||||||
cd $tmppkgdir && tar xfjp $i $propsf
|
cd $tmppkgdir && tar xfjp $i $propsf
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
msg_warn "Couldn't extract $i metadata file!"
|
msg_warn "Couldn't extract $(basename $i) metadata!"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
write_repo_pkgindex_dict $propsf $pkgindexf $(basename $i)
|
write_repo_pkgindex_dict $propsf $pkgindexf $(basename $i)
|
||||||
|
@ -157,7 +157,7 @@ write_repo_pkgindex_dict()
|
||||||
echo "<key>filename</key>" >> $tmpdictf
|
echo "<key>filename</key>" >> $tmpdictf
|
||||||
echo "<string>$binpkgf</string>" >> $tmpdictf
|
echo "<string>$binpkgf</string>" >> $tmpdictf
|
||||||
echo "<key>filename-sha256</key>" >> $tmpdictf
|
echo "<key>filename-sha256</key>" >> $tmpdictf
|
||||||
echo "<string>$($XBPS_DIGEST_CMD $binpkg)</string>" \
|
echo "<string>$(xbps-digest $binpkg)</string>" \
|
||||||
>> $tmpdictf
|
>> $tmpdictf
|
||||||
continue
|
continue
|
||||||
# Continue until found.
|
# Continue until found.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue