apt-get doesn't run unsigned, unvetted shell scripts downloaded over unprotected channels.
About the channel, the (real) install script is based on Fabric and use SSH. So you can refer directly to this: http://cozy.io/host/install.html
Not that what you are suggesting is good in the first place.