genindex: $XBPS_DIGEST_CMD is no more.
--HG-- extra : convert_revision : a7945d1dc038b95cca840df61c44682a4e205058
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user