diff options
author | Dubiousjim <dubiousjim@gmail.com> | 2013-07-01 17:14:14 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-03 07:42:53 +0000 |
commit | 4954634c054758d170777500a3ac1a2d7e0d6191 (patch) | |
tree | 23ed43f4abda9c11ce263476383be490638ecbab /setup-timezone.in | |
parent | c8f5f53d2e9f578bc6abaf4d86f8b37eda9950d7 (diff) | |
download | alpine-conf-4954634c054758d170777500a3ac1a2d7e0d6191.tar.bz2 alpine-conf-4954634c054758d170777500a3ac1a2d7e0d6191.tar.xz |
various: use long-form apk options
Diffstat (limited to 'setup-timezone.in')
-rwxr-xr-x | setup-timezone.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setup-timezone.in b/setup-timezone.in index 3caf0f5..41d4f16 100755 --- a/setup-timezone.in +++ b/setup-timezone.in @@ -51,8 +51,8 @@ while getopts "hp:z:" opt; do esac done -if ! apk info -q -e tzdata; then - apk add -q tzdata && apkdel="tzdata" || exit 1 +if ! apk info --quiet --installed tzdata; then + apk add --quiet tzdata && apkdel="tzdata" || exit 1 fi zonepath=$(cat /etc/TZ 2>/dev/null) @@ -105,6 +105,6 @@ while true; do done if [ -n "$apkdel" ]; then - apk del -q $apkdel + apk del --quiet $apkdel fi |