minor bug fix

pull/20/head
Botspot 5 years ago
parent 6a91299493
commit 6b4c65ab96

@ -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}!"

Loading…
Cancel
Save