From 6b4c65ab9607035b1081b1acb05ace8b61064557 Mon Sep 17 00:00:00 2001 From: Botspot Date: Sun, 4 Oct 2020 20:56:29 -0500 Subject: [PATCH] minor bug fix --- updater | 2 ++ 1 file changed, 2 insertions(+) diff --git a/updater b/updater index 006ec21..dfc9eda 100755 --- a/updater +++ b/updater @@ -137,6 +137,8 @@ do #failsafe [ -f "${DIRECTORY}/${i}" ] && error "${DIRECTORY}/apps/${2} still exists, despite trying to delete it!" + mkdir -p "$(dirname "${DIRECTORY}/${i}")" + #copy new version to apps/ cp -f "${DIRECTORY}/update/pi-apps/${i}" "${DIRECTORY}/${i}" || error "Failed to copy ${DIRECTORY}/update/pi-apps/${i}!"