mirror of https://github.com/samply/bridgehead.git
Move prerequisites.sh to lib folder
This commit is contained in:
parent
77773a0990
commit
44398c5088
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
### Note: Currently not complete, needs some features before useable for production
|
||||
|
||||
if ! ./prerequisites.sh; then
|
||||
if ! ./lib/prerequisites.sh; then
|
||||
echo "Prerequisites failed, exiting"
|
||||
exiting
|
||||
fi
|
||||
|
|
|
@ -7,6 +7,7 @@ log() {
|
|||
|
||||
log "INFO" "Checking for updates of $service"
|
||||
# check prerequisites
|
||||
##TODO: Move to lib/prereq.sh
|
||||
prerequisites="git docker docker-compose"
|
||||
for prerequisite in $prerequisites; do
|
||||
$prerequisite --version 2>&1
|
||||
|
|
Loading…
Reference in New Issue