1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-11-24 08:32:50 +02:00

Update generate_config.sh

This commit is contained in:
André Peters 2018-02-20 08:34:49 +01:00 committed by GitHub
parent 40885b7fd6
commit de04016996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,11 +4,11 @@
+set -o errexit
+set -o pipefail
if grep --help 2>&1 | head -n 1 | grep -q -i "busybox"; then
if grep --help 2>&1 | grep -q -i "busybox"; then
echo "BusybBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\""
exit 1
fi
if cp --help 2>&1 | head -n 1 | grep -q -i "busybox"; then
if cp --help 2>&1 | grep -q -i "busybox"; then
echo "BusybBox cp detected, please install coreutils, \"apk add --no-cache --upgrade coreutils\""
exit 1
fi