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-apkcache.in | |
parent | 9f65b05ba2b0b291f9973228a5c4395508b95b16 (diff) | |
download | alpine-conf-cb474e20d6ff923a8f338f26b93234411065ffc0.tar.bz2 alpine-conf-cb474e20d6ff923a8f338f26b93234411065ffc0.tar.xz |
fix mixed tabs & spaces and surplus empty lines at EOF
Diffstat (limited to 'setup-apkcache.in')
-rw-r--r-- | setup-apkcache.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/setup-apkcache.in b/setup-apkcache.in index 5210d82..d4bfb39 100644 --- a/setup-apkcache.in +++ b/setup-apkcache.in @@ -5,7 +5,7 @@ PREFIX= . "$PREFIX/lib/libalpine.sh" usage() { - cat <<__EOF__ + cat <<__EOF__ usage: setup-apkcache [-h] [DIR] Setup apk caching. @@ -15,7 +15,7 @@ If DIR is not specified user will be asked for location. options: -h Show this help __EOF__ - exit 1 + exit 1 } is_mounted() { @@ -97,9 +97,9 @@ __EOF__ } while getopts "h" opt; do - case $opt in + case $opt in h) usage;; - esac + esac done shift $(( $OPTIND - 1 )) @@ -165,4 +165,3 @@ case "$cleanup" in umount) umount $mount;; remount) mount -o remount,ro $mount;; esac - |