#!/usr/bin/env bash function datapack() { if [[ ! -d "$(getValueByKey 'PODMAN_DIRECTORY')/${1}" ]]; then log e "Directory '${1}' does not exist" exit 1 fi local dir="$(getValueByKey 'PODMAN_DIRECTORY')/${1}" curl "${2}" -o "$dir" }