aboutsummaryrefslogtreecommitdiffstats
path: root/setup-apkrepos.in
diff options
context:
space:
mode:
authorDubiousjim <dubiousjim@gmail.com>2013-07-01 17:14:14 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-03 07:42:53 +0000
commit4954634c054758d170777500a3ac1a2d7e0d6191 (patch)
tree23ed43f4abda9c11ce263476383be490638ecbab /setup-apkrepos.in
parentc8f5f53d2e9f578bc6abaf4d86f8b37eda9950d7 (diff)
downloadalpine-conf-4954634c054758d170777500a3ac1a2d7e0d6191.tar.bz2
alpine-conf-4954634c054758d170777500a3ac1a2d7e0d6191.tar.xz
various: use long-form apk options
Diffstat (limited to 'setup-apkrepos.in')
-rwxr-xr-xsetup-apkrepos.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup-apkrepos.in b/setup-apkrepos.in
index ab48471..8cb940f 100755
--- a/setup-apkrepos.in
+++ b/setup-apkrepos.in
@@ -154,8 +154,8 @@ done
# main
# install alpine-mirrors if its not already there
to_uninstall=
-if ! apk info -q -e alpine-mirrors; then
- apk add -q alpine-mirrors
+if ! apk info --quiet --installed alpine-mirrors; then
+ apk add --quiet alpine-mirrors
to_uninstall=alpine-mirrors
fi
@@ -199,10 +199,10 @@ done
if [ -n "$changed" ]; then
echo -n "Updating repository indexes... "
- apk update -q && echo "done."
+ apk update --quiet && echo "done."
fi
# clean up
if [ -n "$to_uninstall" ]; then
- apk del -q alpine-mirrors
+ apk del --quiet alpine-mirrors
fi