@marcan
TLS provides privacy but not integrity. In case of a server-side exploitation, or simply memory corruption for any other reason ECC failures are not nearly as uncommon as anyone would like to believe!), TLS provides nothing.
In general this practice to installing software with curl | sh is a huge side-step around all of the security and trust that comes built-in to the system package manager, and tends to litter your system with stuff the package manager doesn't know about -- [cotd]