install-deps: install libtool-bin on Debian Sid

See https://github.com/mxe/mxe/issues/1593
This commit is contained in:
Boris Nagaev 2016-12-14 01:02:00 +01:00
parent 1ebebb580f
commit a0dba601f9
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ if [[ "$OSTYPE" =~ "linux" ]]; then
DIST=`lsb_release -si`
REL=`lsb_release -sr`
if ( [[ $DIST =~ "Debian" ]] && (( `echo "$REL > 8" | bc -l` )) ) || \
( [[ $DIST =~ "Ubuntu" ]] && (( `echo "$REL > 14.10" | bc -l` )) ); then
( [[ $DIST =~ "Ubuntu" ]] && (( `echo "$REL > 14.10" | bc -l` )) ) || \
( [[ "$REL" == "unstable" ]] ); then
apt-get --yes install libtool-bin
fi
# install Lua for build-pkg