mirror of
https://github.com/bitnami/containers.git
synced 2026-10-19 03:49:23 +02:00
11.0.15-debian-11-r5 release
This commit is contained in:
committed by
Bitnami Containers
parent
1b05c5f064
commit
8d63102d12
@@ -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