Skip to content

Commit

Permalink
Merge pull request ethereum#3612 from ethereum/debian-lsb
Browse files Browse the repository at this point in the history
Fix install_deps.sh for Debian without lsb_release
  • Loading branch information
chriseth authored Feb 27, 2018
2 parents 2abc5be + 9a8b0d5 commit 6d8dee5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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"
Expand Down

0 comments on commit 6d8dee5

Please sign in to comment.