installer.bash
The installer for Linux operating systems without GUI support.
Errors
error
Introduced in
v1.0.0-alpha3
Base error function used for all other errors.
| installer.bash | |
|---|---|
Arguments
1-penultimate Argument - Lines of the error message. Does not include indentation at the beginning. Should be under 60 characters in length. For each
last Argument - Exit code. See here.
Returns
Exit with the code specified as last Argument.
not_installed_error
Error raised, when something necessary for the installer to work is not installed.
| installer.bash | |
|---|---|
Arguments
1 - The name of the thing not installed.
Returns
Exit with error code 1.
os_error
Error raised, when the OS the installer is ran on is not Linux.
| installer.bash | |
|---|---|
Returns
Exit with error code 2.
Exit codes
| Exit code | Description | Example |
|---|---|---|
| 1 | See not_installed_error |
Python is not installed. |
| 2 | See os_error |
OS is not linux. |
Last update:
2024-02-20