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