mirror of
https://github.com/bitnami/containers.git
synced 2026-03-10 15:09:17 +08:00
2.8.2-debian-11-r3 release
This commit is contained in:
committed by
Bitnami Containers
parent
98c9edb9bd
commit
2085496b60
@@ -58,8 +58,8 @@ component_unpack() {
|
||||
fi
|
||||
if [ -n "$package_sha256" ]; then
|
||||
echo "Verifying package integrity"
|
||||
echo "$package_sha256 ${base_name}.tar.gz" | sha256sum --check - || exit "$?"
|
||||
echo "$package_sha256 ${base_name}.tar.gz" | sha256sum --check - || return "$?"
|
||||
fi
|
||||
tar --directory "${directory}" --extract --gunzip --file "${base_name}.tar.gz" --no-same-owner --strip-components=2
|
||||
tar --directory "${directory}" --extract --gunzip --file "${base_name}.tar.gz" --no-same-owner --strip-components=2 || return "$?"
|
||||
rm "${base_name}.tar.gz"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user