From 01f0a3879c3079bfb1646e10a46291c36f3476c4 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Sun, 29 Oct 2017 17:07:39 +0300 Subject: [PATCH] rm iguana bins from installers #2 --- binary_artifacts.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/binary_artifacts.sh b/binary_artifacts.sh index 3faa2b3..e1be581 100755 --- a/binary_artifacts.sh +++ b/binary_artifacts.sh @@ -21,15 +21,16 @@ echo rm assets/artifacts.supernet.org/latest/osx/iguana chmod +x assets/artifacts.supernet.org/latest/osx/komodo* -#cp -rvf assets/artifacts.supernet.org/latest/osx/* assets/bin/osx/ mkdir assets/bin -echo Moving OSX bins to assets/bin -wget https://supernetorg.bintray.com/binaries/komodo_OSX_latest.zip -checksum=`shasum -a 256 komodo_OSX_latest.zip | awk '{ print $1 }'` -if [ "$checksum" = "c20a1b7268dd0d9bbc8984a0e76cc868d8b4479af18cd1dde4406f63b7f12255" ]; then +mv assets/artifacts.supernet.org/latest/osx assets/bin/osx + +echo Moving legacy libs to assets/bin +wget https://supernetorg.bintray.com/misc/libs_legacy_osx.zip +checksum=`shasum -a 256 libs_legacy_osx.zip | awk '{ print $1 }'` +if [ "$checksum" = "e9474aa243694a2d4c87fccc443e4b16a9a5172a24da76af9e5ecddd006649bb" ]; then echo "Checksum is correct." - unzip komodo_OSX_latest.zip - mv komodo_OSX_latest assets/bin/osx + unzip libs_legacy_osx.zip + cp -rvf libs_legacy_osx/* assets/bin/osx/. else echo "Checksum is incorrect!" exit 0 @@ -50,4 +51,4 @@ mv assets/artifacts.supernet.org/latest/linux assets/bin/linux64/ echo echo ========================================= echo Step: Finished Updating binaries from artifacts -echo +echo \ No newline at end of file