update_binary-addons: fix error at exit

This commit is contained in:
CvH 2024-08-24 17:37:59 +02:00
parent 641c9ff02c
commit eaf308634e

View File

@ -241,4 +241,6 @@ done
rm -rf "${TMPDIR}"
[ -d "${TMP_REPO_DIR}" ] && rm -rf "${TMP_REPO_DIR}"
if [ -d "${TMP_REPO_DIR}" ]; then
rm -rf "${TMP_REPO_DIR}"
fi