mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-11-28 08:52:00 +02:00
Corrected detect docker compose command position
This commit is contained in:
parent
778a3ed551
commit
1f9f4157a6
@ -344,6 +344,8 @@ while (($#)); do
|
||||
shift
|
||||
done
|
||||
|
||||
detect_docker_compose_command
|
||||
|
||||
[[ ! -f mailcow.conf ]] && { echo "mailcow.conf is missing! Is mailcow installed?"; exit 1;}
|
||||
chmod 600 mailcow.conf
|
||||
source mailcow.conf
|
||||
@ -354,8 +356,6 @@ if [ ${#DOTS} -lt 2 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
detect_docker_compose_command
|
||||
|
||||
if grep --help 2>&1 | head -n 1 | grep -q -i "busybox"; then echo "BusyBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\""; exit 1; fi
|
||||
# This will also cover sort
|
||||
if cp --help 2>&1 | head -n 1 | grep -q -i "busybox"; then echo "BusyBox cp detected, please install coreutils, \"apk add --no-cache --upgrade coreutils\""; exit 1; fi
|
||||
|
Loading…
Reference in New Issue
Block a user