fix git dl
This commit is contained in:
@@ -105,7 +105,7 @@ function dlIndy {
|
||||
#Download the file
|
||||
echo "Downloading file: ${GREEN}$DLURL${CRESET}"
|
||||
cd /tmp/CoS
|
||||
wget --random-wait -N $DLURL
|
||||
wget --random-wait -N $DLURL
|
||||
|
||||
#Unzip the file to a temp directory
|
||||
ZDIRNAME=tmpCurseDl
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user