Skip to content

Commit

Permalink
Merge pull request #168 from qiukun/master
Browse files Browse the repository at this point in the history
enhance tools/extras/check_dependencies.sh
  • Loading branch information
fmetze committed May 23, 2018
2 parents 3e67237 + 038d01e commit 4a98525
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/extras/check_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ for f in make gcc automake libtool autoconf patch grep bzip2 gzip git; do
if ! which $f >&/dev/null; then
echo "$0: $f is not installed."
add_packages $f $f $f
if [[ $f == libtool ]]; then
add_packages libtool-bin libtool-bin libtool-bin
fi
fi
done

Expand All @@ -55,11 +58,13 @@ if which python >&/dev/null ; then
else
echo "$0: python 2.7 is not installed"
add_packages python2.7 python2.7 python2.7
add_packages python-pip python-pip python-pip
fi
fi
else
echo "$0: python 2.7 is not installed"
add_packages python2.7 python2.7 python2.7
add_packages python-pip python-pip python-pip
fi

printed=false
Expand Down

0 comments on commit 4a98525

Please sign in to comment.