2.9.2-debian-10-r34 release

This commit is contained in:
Bitnami Bot
2022-02-24 16:46:41 +00:00
parent 0c335c3c45
commit 24196ebea9
3 changed files with 5 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ RUN mkdir /.m2 && chmod -R g+rwX /.m2
COPY rootfs /
RUN /opt/bitnami/scripts/java/postunpack.sh
ENV BITNAMI_APP_NAME="spring-cloud-dataflow-composed-task-runner" \
BITNAMI_IMAGE_VERSION="2.9.2-debian-10-r33" \
BITNAMI_IMAGE_VERSION="2.9.2-debian-10-r34" \
JAVA_HOME="/opt/bitnami/java" \
PATH="/opt/bitnami/java/bin:/opt/bitnami/common/bin:$PATH"

View File

@@ -74,8 +74,9 @@ is_dir_empty() {
# boolean
#########################
is_mounted_dir_empty() {
local dir="${1:?missing directory}"
local -r path="${1:?missing directory}"
# Calculate real path in order to avoid issues with symlinks
local -r dir="$(realpath "$path")"
if is_dir_empty "$dir" || find "$dir" -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" -exec false {} +; then
true
else