fix git dl

This commit is contained in:
2023-10-01 00:06:21 +02:00
parent bc321cedc1
commit 5a81312ef4

View File

@@ -144,7 +144,7 @@ function dlGitAddon {
echo "Cloning from git repository for : ${GREEN}${GDIRNAME}${CRESET}"
git -C "${ADDONPATH}" clone ${DLURL}
fi
if [ ! -f "${ADDONPATH}/${GDIRNAME}/${GDIRNAME}.lua" ]
if [ ! -f "${ADDONPATH}/${GDIRNAME}/${GDIRNAME}.toc" ]
then
for dir in "${ADDONPATH}/${GDIRNAME}"/*/
do