Merge pull request #1595 from LuaAndC/sid-libtool

install-deps: install libtool-bin on Debian Sid
This commit is contained in:
Boris Nagaev 2016-12-14 11:54:15 -08:00 committed by GitHub
commit a784f8fa1c
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