diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2016-06-28 22:42:19 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2016-06-28 22:42:19 (GMT) |
commit | b328e24458f66693bbc943eb654dd463c8eba167 (patch) | |
tree | 0283282d11bf174bf1525f150ad0b32866878e04 /tools | |
parent | 7003fa837b20fac0ea04a59fc122d7073eb43204 (diff) | |
download | mxe-b328e24458f66693bbc943eb654dd463c8eba167.zip mxe-b328e24458f66693bbc943eb654dd463c8eba167.tar.gz mxe-b328e24458f66693bbc943eb654dd463c8eba167.tar.bz2 |
install-deps: install bc to compare versions
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/install-deps | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/install-deps b/tools/install-deps index a7cd4cb..1b7b433 100755 --- a/tools/install-deps +++ b/tools/install-deps @@ -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` )) ) || \ |