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