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-lbu.in | |
parent | 9f65b05ba2b0b291f9973228a5c4395508b95b16 (diff) | |
download | alpine-conf-cb474e20d6ff923a8f338f26b93234411065ffc0.zip |
fix mixed tabs & spaces and surplus empty lines at EOF
Diffstat (limited to 'setup-lbu.in')
-rw-r--r-- | setup-lbu.in | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/setup-lbu.in b/setup-lbu.in index d5c10ff..7270f3b 100644 --- a/setup-lbu.in +++ b/setup-lbu.in @@ -5,7 +5,7 @@ PREFIX= . "$PREFIX/lib/libalpine.sh" usage() { - cat <<__EOF__ + cat <<__EOF__ usage: setup-lbu [-hq] [MEDIA] Setup lbu media settings. @@ -17,7 +17,7 @@ options: -q Quietly pick best suggestion. Only prompts user if unsure. __EOF__ - exit 1 + exit 1 } get_mnt_line() { @@ -94,10 +94,10 @@ set_media() { } while getopts "hq" opt; do - case $opt in + case $opt in h) usage;; q) quiet=1;; - esac + esac done shift $(($OPTIND - 1)) @@ -146,5 +146,3 @@ if [ "$media" = "none" ]; then fi set_media "$media" - - |