do-fetch: remove support for rpm contents checksum
It doesn't make sense to support contents checksum here.
This commit is contained in:
parent
d1bfb96195
commit
90860e279e
|
@ -54,14 +54,7 @@ contents_cksum() {
|
|||
fi
|
||||
;;
|
||||
rpm)
|
||||
if command -v rpmextract &>/dev/null; then
|
||||
cksum=$($XBPS_DIGEST_CMD <(rpm2cpio "$curfile" | $TAR_CMD -x -f -))
|
||||
if [ $? -ne 0 ]; then
|
||||
msg_error "$pkgver: extracting $curfile to pipe.\n"
|
||||
fi
|
||||
else
|
||||
msg_error "$pkgver: cannot find rpmextract for extraction.\n"
|
||||
fi
|
||||
msg_error "$pkgver: contents checksum not support for rpm.\n"
|
||||
;;
|
||||
txt)
|
||||
cksum=$($XBPS_DIGEST_CMD "$curfile")
|
||||
|
|
Loading…
Reference in New Issue