mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
update_binary-addons: remove ADDONS_GIT_DIR if delete git dirs is set
This commit is contained in:
parent
3d59376eda
commit
7a95a37153
@ -167,6 +167,10 @@ for addontxt in ${ADDONS_REPO_LOCATION}/*-addons.txt ; do
|
|||||||
PROCESSED="${PROCESSED}${ADDON}\n"
|
PROCESSED="${PROCESSED}${ADDON}\n"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ "${KEEP_GIT_DIRS}" != "yes" ]; then
|
||||||
|
[ -d "${ADDONS_GIT_DIR}" ] && rm -rf "${ADDONS_GIT_DIR}"
|
||||||
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "The following addons were skipped, please add packages for these addons:"
|
echo "The following addons were skipped, please add packages for these addons:"
|
||||||
echo "[${SKIPPED_ADDONS}]"
|
echo "[${SKIPPED_ADDONS}]"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user