From d7ed9d343ece830e31b8fe93cd0e902199eee8d9 Mon Sep 17 00:00:00 2001 From: coissac Date: Wed, 15 Oct 2025 08:32:06 +0200 Subject: [PATCH] Update install_obitools.sh for missing directory --- install_obitools.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install_obitools.sh b/install_obitools.sh index d7c0c60..634b068 100755 --- a/install_obitools.sh +++ b/install_obitools.sh @@ -59,6 +59,11 @@ if [[ ! "$WORK_DIR" || ! -d "$WORK_DIR" ]]; then exit 1 fi +mkdir -p "${WORK_DIR}/cache" \ + || (echo "Cannot create ${WORK_DIR}/cache directory" 1>&2 + exit 1) + + mkdir -p "${INSTALL_DIR}/bin" 2> /dev/null \ || (echo "Please enter your password for installing obitools in ${INSTALL_DIR}" 1>&2 sudo mkdir -p "${INSTALL_DIR}/bin")