Lines Matching full:patch_dir
504 readonly PATCH_DIR=".patch"
557 local patch_dir="${update_dmg_mount_point}/${PATCH_DIR}"
558 if [[ "${patch_dir:0:1}" != "/" ]]; then
559 note "patch_dir = ${patch_dir}"
560 err "patch_dir must be an absolute path"
570 if [[ -d "${patch_dir}" ]]; then
571 # patch_dir exists and is a directory - this is a patch update.
573 dirpatcher="${patch_dir}/dirpatcher.sh"
578 elif [[ -e "${patch_dir}" ]]; then
579 # patch_dir exists, but is not a directory - what's that mean?
580 note "patch_dir = ${patch_dir}"
581 err "patch_dir must be a directory"
584 # patch_dir does not exist - this is a full "installer."
585 patch_dir=
587 note "patch_dir = ${patch_dir}"
666 if ! update_version_app_old=$(<"${patch_dir}/old_app_version") ||
673 if ! update_version_app=$(<"${patch_dir}/new_app_version") ||
680 if ! update_version_ks=$(<"${patch_dir}/new_ks_version") ||
687 if ! product_id=$(<"${patch_dir}/ks_product") ||
694 patch_app_dir="${patch_dir}/application.dirpatch"
702 "${patch_dir}/version_${update_version_app_old}_${update_version_app}.dirpatch"