mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
update_binary-addons: remove ADDONS_GIT_DIR if delete git dirs is set
This commit is contained in:
@@ -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}]"
|
||||
|
||||
Reference in New Issue
Block a user