added new loop
This commit is contained in:
@@ -19,11 +19,9 @@ then
|
|||||||
|
|
||||||
for subscription in "${subscriptionList[@]}"
|
for subscription in "${subscriptionList[@]}"
|
||||||
do
|
do
|
||||||
|
for path in "$subscription/httpdocs/shopsystem/application/cache/boxes"* "$subscription/httpdocs/shopsystem/appcation/cache/smarty_compiled"
|
||||||
if [[ -d "$subscription/httpdocs/shopsystem/application/cache/boxes" ]]
|
do
|
||||||
then
|
cd "$path"
|
||||||
cd "$subscription/httpdocs/shopsystem/application/cache/boxes"
|
|
||||||
fi
|
|
||||||
echo -e "Czyszczę cache w subskrybcji $subscription...\n"
|
echo -e "Czyszczę cache w subskrybcji $subscription...\n"
|
||||||
ls -1 > "/tmp/dirList.txt"
|
ls -1 > "/tmp/dirList.txt"
|
||||||
readarray -t dirList < /tmp/dirList.txt
|
readarray -t dirList < /tmp/dirList.txt
|
||||||
@@ -39,6 +37,7 @@ then
|
|||||||
done
|
done
|
||||||
cd "$vhostDir"
|
cd "$vhostDir"
|
||||||
done
|
done
|
||||||
|
done
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user