In the installer, when it is run through curl piping and there are dependencies missing (which is almost always as mag is usually not installed), the installation fails when it reaches the point in which it asks the user if he wants to install the dependencies.
The reason for this is that the shell launched with curl piping is not interactive.
Solution:
Detect if the shell is interactive, if so => allow the question otherwise automatically install the dependencies.
In the installer, when it is run through curl piping and there are dependencies missing (which is almost always as mag is usually not installed), the installation fails when it reaches the point in which it asks the user if he wants to install the dependencies.
The reason for this is that the shell launched with curl piping is not interactive.
Solution: Detect if the shell is interactive, if so => allow the question otherwise automatically install the dependencies.