biiig wrench
This commit is contained in:
@ -6,12 +6,7 @@
|
||||
# It is called with the path to the server specific env file as an argument.
|
||||
|
||||
|
||||
install_prerequisites() {
|
||||
# this script works on debian, ubuntu and Raspberry Pi OS
|
||||
# it checks the following prerequisites, and installs them if missing.
|
||||
# if the user is root it proceeds, otherwise it checks for sudo privileges.
|
||||
# if neither exists, and a prerequisite is missing, the script exits with failure.
|
||||
|
||||
check_prerequisites() {
|
||||
# prerequisites:
|
||||
# - bash
|
||||
# - curl
|
||||
@ -29,6 +24,6 @@ install_prerequisites() {
|
||||
done
|
||||
}
|
||||
|
||||
install_prerequisites
|
||||
check_prerequisites
|
||||
exit 0
|
||||
|
||||
|
Reference in New Issue
Block a user