diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-02 22:02:43 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-11-02 22:11:19 +0100 |
commit | cb474e20d6ff923a8f338f26b93234411065ffc0 (patch) | |
tree | 4e3c16c18adcc9fd7b3b58f45064ec752f47485e /setup-timezone.in | |
parent | 9f65b05ba2b0b291f9973228a5c4395508b95b16 (diff) | |
download | alpine-conf-cb474e20d6ff923a8f338f26b93234411065ffc0.zip |
fix mixed tabs & spaces and surplus empty lines at EOF
Diffstat (limited to 'setup-timezone.in')
-rw-r--r-- | setup-timezone.in | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/setup-timezone.in b/setup-timezone.in index 514f9ca..2d7b044 100644 --- a/setup-timezone.in +++ b/setup-timezone.in @@ -7,7 +7,7 @@ PREFIX= zroot=/usr/share/zoneinfo usage() { - cat <<__EOF__ + cat <<__EOF__ usage: setup-timezone [-h] [-k|-i] [-z TIMEZONE] Sets the timezone for the system. @@ -18,7 +18,7 @@ options: -k Keep previous copies of tzdata -z Set given timezone. (relative $zroot) __EOF__ - exit 1 + exit 1 } show_tz_list() { @@ -60,12 +60,12 @@ setup_tz() { INSTALL_TZDATA=false KEEP_TZDATA=false while getopts "hikz:" opt; do - case $opt in - h) usage;; + case $opt in + h) usage;; i) INSTALL_TZDATA=true;; k) KEEP_TZDATA=true;; z) ZONE="$OPTARG";; - esac + esac done if $INSTALL_TZDATA; then @@ -119,4 +119,3 @@ done if [ -n "$apkdel" ]; then apk del --quiet $apkdel fi - |