Browse Source

rm iguana bins from installers #2

pkg_automation_electrum
pbca26 7 years ago
parent
commit
01f0a3879c
  1. 17
      binary_artifacts.sh

17
binary_artifacts.sh

@ -21,15 +21,16 @@ echo
rm assets/artifacts.supernet.org/latest/osx/iguana rm assets/artifacts.supernet.org/latest/osx/iguana
chmod +x assets/artifacts.supernet.org/latest/osx/komodo* chmod +x assets/artifacts.supernet.org/latest/osx/komodo*
#cp -rvf assets/artifacts.supernet.org/latest/osx/* assets/bin/osx/
mkdir assets/bin mkdir assets/bin
echo Moving OSX bins to assets/bin mv assets/artifacts.supernet.org/latest/osx assets/bin/osx
wget https://supernetorg.bintray.com/binaries/komodo_OSX_latest.zip
checksum=`shasum -a 256 komodo_OSX_latest.zip | awk '{ print $1 }'` echo Moving legacy libs to assets/bin
if [ "$checksum" = "c20a1b7268dd0d9bbc8984a0e76cc868d8b4479af18cd1dde4406f63b7f12255" ]; then 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." echo "Checksum is correct."
unzip komodo_OSX_latest.zip unzip libs_legacy_osx.zip
mv komodo_OSX_latest assets/bin/osx cp -rvf libs_legacy_osx/* assets/bin/osx/.
else else
echo "Checksum is incorrect!" echo "Checksum is incorrect!"
exit 0 exit 0
@ -50,4 +51,4 @@ mv assets/artifacts.supernet.org/latest/linux assets/bin/linux64/
echo echo
echo ========================================= echo =========================================
echo Step: Finished Updating binaries from artifacts echo Step: Finished Updating binaries from artifacts
echo echo
Loading…
Cancel
Save