Fix
parent
917ad116b2
commit
f116456183
|
|
@ -25,7 +25,7 @@ ls -lh "$libraryCacheFolder"
|
||||||
latestLibraryCacheFile=$(ls -t "$libraryCacheFolder" | grep .zip$ | head -1)
|
latestLibraryCacheFile=$(ls -t "$libraryCacheFolder" | grep .zip$ | head -1)
|
||||||
|
|
||||||
echo "Checking if $libraryCacheFolder/$latestLibraryCacheFile"
|
echo "Checking if $libraryCacheFolder/$latestLibraryCacheFile"
|
||||||
if [ -z "$libraryCacheFolder/$latestLibraryCacheFile" ]; then
|
if [ -f "$libraryCacheFolder/$latestLibraryCacheFile" ]; then
|
||||||
echo "Library cache exists"
|
echo "Library cache exists"
|
||||||
mkdir -p "$libraryFolderFull"
|
mkdir -p "$libraryFolderFull"
|
||||||
unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull"
|
unzip -q "$libraryCacheFolder/$latestLibraryCacheFile" -d "$libraryFolderFull"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue