[Do not merge. under discussion] node global installation fix

Discussion is going in #131 
Can we verify that cairo is necessary, a unit test would be great for
compressing and decompressing pngs

On Thu, Nov 13, 2014 at 8:42 PM, Jihoon Lee <notifications@github.com>
wrote:

> In misc/install.sh:
>
> > @@ -1,7 +1,19 @@
> >  #!/bin/sh
> >
> >  set -e
> > -if type 'apt-get' > /dev/null; then
> > +
> > +#if type 'apt-get' > /dev/null; then
> > +
> > +if python ./misc/cairo_check.py; then
> > +  exit 0
> > +fi
> > +
> > +# for OSX
> > +#if type 'ldconfig' > /dev/null; && $(ldconfig -p | grep cairo)? -eq 1 then
>
> Ok. Still the script does not work. any suggestion to get this work?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/RobotWebTools/roslibjs/pull/133/files#r20338129>.
>