From e3e73ef7c57f3c7bd791b71b5331dd2b47b4a780 Mon Sep 17 00:00:00 2001 From: Locutus73 Date: Thu, 30 May 2019 23:35:36 +0200 Subject: [PATCH] Version 0.9.1 - Creating directories when needed. Creating directories when needed. --- core_manager.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core_manager.sh b/core_manager.sh index 1b861f0..596a166 100644 --- a/core_manager.sh +++ b/core_manager.sh @@ -18,6 +18,7 @@ # You can download the latest version of this script from: # https://github.com/MiSTer-devel/Scripts_MiSTer +# Version 0.9.1 - 2019-05-30 - Creating directories when needed. # Version 0.9 - 2019-05-30 - First commit, lacking any MiSTer Updater configuration capability. @@ -366,6 +367,7 @@ while true; do showInstallMENU "${CORE_CATEGORY_NAME}" case ${DIALOG_RETVAL} in ${DIALOG_OK}) + mkdir -p "${CORE_CATEGORY_PATHS[${CORE_CATEGORY}]}" CORE_URL="${DIALOG_OUTPUT}" ORIGINAL_DOWNLOAD_NEW_CORES="${DOWNLOAD_NEW_CORES}" DOWNLOAD_NEW_CORES="true"