update: whitespace and line length cleanups.

This should contain no functional modifications.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2023-11-27 00:27:27 +01:00 committed by Adrien 'neox' Bourmault
parent 9c5a04ba47
commit 23981d7096
Signed by: neox
GPG Key ID: 2974E1D5F25DFCC8
1 changed files with 28 additions and 28 deletions

4
update
View File

@ -69,7 +69,6 @@ mode="${1}"
[ "${mode}" = help ] && help && exit 0 [ "${mode}" = help ] && help && exit 0
if [ $# -gt 1 ]; then if [ $# -gt 1 ]; then
option="${2}" option="${2}"
shift 2 shift 2
@ -89,7 +88,8 @@ if [ $# -gt 1 ]; then
"${update}"/"${mode}"/"${option}" $@ "${update}"/"${mode}"/"${option}" $@
else else
help help
die "Invalid option for '${mode}'. See './update ${mode} list'." die "Invalid option for '${mode}'." \
" See './update ${mode} list'."
fi fi
else else
help help