Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

Commit

Permalink
Added early check for lsb_release
Browse files Browse the repository at this point in the history
  • Loading branch information
z0rc committed Dec 1, 2011
1 parent 8d166d0 commit 8120d71
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@

ARCH=`uname -m`

if [ -x "`which lsb_release`" ]; then
echo "Unable to find lsb_release, which is usually a part of lsb package."
echo "Please install it in your distro preferred way."
fi

git submodule init && git submodule update

if [ `lsb_release -i -s` = Debian -o `lsb_release -c -s` = debian ]; then
Expand Down

0 comments on commit 8120d71

Please sign in to comment.