mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-02 17:53:55 +00:00
don't unzip sync zip when not needed
This commit is contained in:
parent
6d485866f6
commit
babd9b6c3d
@ -135,7 +135,7 @@ if [ -n "$SYNC_DOWNLOAD_FILE" ];then
|
|||||||
# With a prebuilt version we only want to check the first non-empty
|
# With a prebuilt version we only want to check the first non-empty
|
||||||
# line so that checking out an older commit will download the
|
# line so that checking out an older commit will download the
|
||||||
# appropriate version of core if the already-present version is too new
|
# appropriate version of core if the already-present version is too new
|
||||||
elif ! grep -m 1 . "vendor/$SYNC_DIR/version.txt" | check_release_notes; then
|
elif ! grep -m 1 . "vendor/$SYNC_DIR/version.txt"; then
|
||||||
download_core $SYNC_DIR $REALM_SYNC_VERSION $SYNC_DOWNLOAD_FILE sync "$SYNC_EXTRACT" $EXTRACTED_DIR
|
download_core $SYNC_DIR $REALM_SYNC_VERSION $SYNC_DOWNLOAD_FILE sync "$SYNC_EXTRACT" $EXTRACTED_DIR
|
||||||
else
|
else
|
||||||
echo "The sync library seems to be up to date."
|
echo "The sync library seems to be up to date."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user