2.2.2-debian-10-r18 release

This commit is contained in:
Bitnami Bot
2021-06-12 02:49:53 +00:00
parent 4d48c5ef57
commit a7c5bfff70
3 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ persist_app() {
local -r install_dir="${BITNAMI_ROOT_DIR}/${app}"
local -r persist_dir="${BITNAMI_VOLUME_DIR}/${app}"
# Persist the individual files
if [[ "${#files_to_persist[@]}" -lt 0 ]]; then
if [[ "${#files_to_persist[@]}" -le 0 ]]; then
warn "No files are configured to be persisted"
return
fi
@@ -87,7 +87,7 @@ restore_persisted_app() {
local -r install_dir="${BITNAMI_ROOT_DIR}/${app}"
local -r persist_dir="${BITNAMI_VOLUME_DIR}/${app}"
# Restore the individual persisted files
if [[ "${#files_to_restore[@]}" -lt 0 ]]; then
if [[ "${#files_to_restore[@]}" -le 0 ]]; then
warn "No persisted files are configured to be restored"
return
fi