Renamed script to 'archinstaller'.
Make use of heredocs instead of echo.
Instead of 'which' use the shell-builtin 'type'.