mirror of https://git.wownero.com/dsc/mxe.git
install-deps: install bc to compare versions
This commit is contained in:
parent
7003fa837b
commit
b328e24458
|
@ -14,6 +14,8 @@ if [[ "$OSTYPE" =~ "linux" ]]; then
|
|||
if ! [[ `uname -m` =~ "i686" ]]; then
|
||||
apt-get --yes install g++-multilib libc6-dev-i386
|
||||
fi
|
||||
# install bc to compare Debian releases
|
||||
apt-get --yes install bc
|
||||
DIST=`lsb_release -si`
|
||||
REL=`lsb_release -sr`
|
||||
if ( [[ $DIST =~ "Debian" ]] && (( `echo "$REL > 8" | bc -l` )) ) || \
|
||||
|
|
Loading…
Reference in New Issue