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