newer version
This commit is contained in:
@@ -22,7 +22,7 @@ then
|
|||||||
for path in "$subscription/httpdocs/shopsystem/application/cache/boxes"* "$subscription/httpdocs/shopsystem/appcation/cache/smarty_compiled"
|
for path in "$subscription/httpdocs/shopsystem/application/cache/boxes"* "$subscription/httpdocs/shopsystem/appcation/cache/smarty_compiled"
|
||||||
do
|
do
|
||||||
|
|
||||||
if [[ -d "$path" ]]
|
if [[ -d $path ]]
|
||||||
then
|
then
|
||||||
cd "$path"
|
cd "$path"
|
||||||
echo -e "Czyszczę cache w subskrybcji $subscription...\n"
|
echo -e "Czyszczę cache w subskrybcji $subscription...\n"
|
||||||
@@ -47,4 +47,4 @@ fi
|
|||||||
if [[ -f "/tmp/subscriptions.txt" ]] && [[ -f "/tmp/dirList.txt" ]]
|
if [[ -f "/tmp/subscriptions.txt" ]] && [[ -f "/tmp/dirList.txt" ]]
|
||||||
then
|
then
|
||||||
rm -r "/tmp/subscriptions.txt" "/tmp/dirList.txt"
|
rm -r "/tmp/subscriptions.txt" "/tmp/dirList.txt"
|
||||||
fi
|
fi
|
||||||
Reference in New Issue
Block a user