From 76dd78e441b41fed9415b9ffe010f78bad6446fe Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 13 Mar 2024 01:51:16 -0400 Subject: [PATCH] chore: run shfmt --- plugins/20_events/install | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/plugins/20_events/install b/plugins/20_events/install index b0765874e..ffebb1977 100755 --- a/plugins/20_events/install +++ b/plugins/20_events/install @@ -16,24 +16,24 @@ trigger-events-install() { # exits gracefully if the path already exists mkdir -m 775 -p "$DOKKU_LOGS_DIR" case "$DOKKU_DISTRO" in - arch | debian | raspbian) - chgrp dokku "$DOKKU_LOGS_DIR" - ;; - *) - chown syslog:dokku "$DOKKU_LOGS_DIR" - ;; + arch | debian | raspbian) + chgrp dokku "$DOKKU_LOGS_DIR" + ;; + *) + chown syslog:dokku "$DOKKU_LOGS_DIR" + ;; esac if [[ ! -f "$DOKKU_EVENTS_LOGFILE" ]]; then touch "$DOKKU_EVENTS_LOGFILE" case "$DOKKU_DISTRO" in - arch | debian | raspbian) - chgrp dokku "$DOKKU_EVENTS_LOGFILE" - ;; - *) - # chown syslog:root might not work on SUSE - chown syslog:dokku "$DOKKU_EVENTS_LOGFILE" - ;; + arch | debian | raspbian) + chgrp dokku "$DOKKU_EVENTS_LOGFILE" + ;; + *) + # chown syslog:root might not work on SUSE + chown syslog:dokku "$DOKKU_EVENTS_LOGFILE" + ;; esac chmod 664 "$DOKKU_EVENTS_LOGFILE" fi