Skip to content

Commit

Permalink
reverse function return value.
Browse files Browse the repository at this point in the history
  • Loading branch information
genjix committed Aug 28, 2013
1 parent f9cb86d commit e1f9651
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install-sx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ DEPENDENCIES="git build-essential autoconf libtool libboost-all-dev pkg-config l
function pkg_is_installed
{
dpkg -s $1 > /dev/null
echo $?
if [ $? -eq 0 ]; then
echo 1
else
echo 0
fi
}

for pkg in $DEPENDENCIES; do
Expand Down

0 comments on commit e1f9651

Please sign in to comment.