diff options
author | Paweł Bylica <chfast@gmail.com> | 2017-09-18 18:53:31 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-02-27 21:34:57 +0800 |
commit | 9a8b0d5726a4402135151dce9208dc4f131713c9 (patch) | |
tree | 2ef3a8479ca9b95bc04dedd58327eb9f619f5e88 | |
parent | 6512bfbcea2fb76145b2163c9962599c2f09e0b9 (diff) | |
download | dexon-solidity-9a8b0d5726a4402135151dce9208dc4f131713c9.tar dexon-solidity-9a8b0d5726a4402135151dce9208dc4f131713c9.tar.gz dexon-solidity-9a8b0d5726a4402135151dce9208dc4f131713c9.tar.bz2 dexon-solidity-9a8b0d5726a4402135151dce9208dc4f131713c9.tar.lz dexon-solidity-9a8b0d5726a4402135151dce9208dc4f131713c9.tar.xz dexon-solidity-9a8b0d5726a4402135151dce9208dc4f131713c9.tar.zst dexon-solidity-9a8b0d5726a4402135151dce9208dc4f131713c9.zip |
Fix install_deps.sh for Debian without lsb_release
-rwxr-xr-x | scripts/install_deps.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index d62cffb7..e884ed65 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -168,11 +168,12 @@ case $(uname -s) in # Debian #------------------------------------------------------------------------------ - Debian) + Debian*) #Debian + . /etc/os-release install_z3="" - case $(lsb_release -cs) in - wheezy) + case $VERSION_ID in + 7) #wheezy echo "Installing solidity dependencies on Debian Wheezy (7.x)." echo "ERROR - 'install_deps.sh' doesn't have Debian Wheezy support yet." @@ -182,16 +183,16 @@ case $(uname -s) in echo "See also https://github.com/ethereum/webthree-umbrella/issues/495 where we are working through Alpine support." exit 1 ;; - jessie) + 8) #jessie echo "Installing solidity dependencies on Debian Jesse (8.x)." ;; - stretch) + 9) #stretch echo "Installing solidity dependencies on Debian Stretch (9.x)." install_z3="libz3-dev" ;; - buster) + 10) #buster echo "Installing solidity dependencies on Debian Buster (10.x)." install_z3="libz3-dev" |