summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsetup-apkrepos.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/setup-apkrepos.in b/setup-apkrepos.in
index 275734c..6a7a59d 100755
--- a/setup-apkrepos.in
+++ b/setup-apkrepos.in
@@ -306,12 +306,7 @@ prompt_update_apk() {
case "$update_repo_indexes" in
[yY])
echo -n "Updating repository indexes... "
- local apkupdate_errors=`apk update 2>&1 | grep -E "^(WARNING|ERROR)" | sed -r "s/(WARNING|ERROR)/\n\1/g"`
- if [ ${#apkupdate_errors} -gt 0 ]; then
- echo "$apkupdate_errors"
- else
- echo "done."
- fi
+ apk update -q && echo "done."
break
;;
[nN]) break;;