Update generate_config.sh

added --no-cache option, thanks
master
eXtremeSHOK 2018-02-20 00:28:59 +02:00 committed by GitHub
parent 51b57320c2
commit 6e91504f6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
if grep --help 2>&1 | head -n 1 | grep -q -i "busybox" ; then if grep --help 2>&1 | head -n 1 | grep -q -i "busybox" ; then
echo "BusybBox grep detected, please install gnu grep, \"apk add --upgrade grep\"" echo "BusybBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\""
exit 1 exit 1
fi fi
if cp --help 2>&1 | head -n 1 | grep -q -i "busybox" ; then if cp --help 2>&1 | head -n 1 | grep -q -i "busybox" ; then
echo "BusybBox cp detected, please install coreutils, \"apk add --upgrade coreutils\"" echo "BusybBox cp detected, please install coreutils, \"apk add --no-cache --upgrade coreutils\""
exit 1 exit 1
fi fi