diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2025-07-16 17:52:32 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-07-28 12:53:26 +0200 |
| commit | 8c2c3430daf3c1091f1033e87658ef02805a42dd (patch) | |
| tree | ffaeefd710e300e8d3f634e804f4783b4b18398a /utils/lib_valkey.sh | |
| parent | cd062d7349b857d25e54db91fd5821b1a4a2d004 (diff) | |
[fix] apply shell formating / shfmt (make format.shell)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lib_valkey.sh')
| -rwxr-xr-x | utils/lib_valkey.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/lib_valkey.sh b/utils/lib_valkey.sh index 7e7beb948..53681338e 100755 --- a/utils/lib_valkey.sh +++ b/utils/lib_valkey.sh @@ -5,10 +5,10 @@ valkey.distro.setup() { # shellcheck disable=SC2034 case $DIST_ID in - ubuntu|debian) + ubuntu | debian) VALKEY_PACKAGES="valkey-server" ;; - arch|fedora|centos) + arch | fedora | centos) VALKEY_PACKAGES="valkey" ;; *) @@ -36,13 +36,13 @@ valkey.backports() { esac } -valkey.install(){ +valkey.install() { info_msg "installing valkey ..." valkey.distro.setup case $DIST_ID in - debian|ubuntu) - apt-cache show "${VALKEY_PACKAGES}" &> /dev/null || valkey.backports + debian | ubuntu) + apt-cache show "${VALKEY_PACKAGES}" &>/dev/null || valkey.backports pkg_install "${VALKEY_PACKAGES}" # do some fix ... @@ -54,7 +54,7 @@ valkey.install(){ systemd_activate_service valkey-server ;; - arch|fedora|centos) + arch | fedora | centos) pkg_install "${VALKEY_PACKAGES}" systemd_activate_service valkey ;; |