From 4942393842d4fec8184a3772669c20eba2d2c09c Mon Sep 17 00:00:00 2001 From: Michael Bateson Date: Tue, 26 Aug 2025 18:26:17 +1000 Subject: [PATCH] indentation in the `clone_dispatcharr_repo` function for consistency and readability: - Unindented `EOSU` marker and `else` block - Aligned code structure within the conditional blocks --- debian_install.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) mode change 100644 => 100755 debian_install.sh diff --git a/debian_install.sh b/debian_install.sh old mode 100644 new mode 100755 index 3a97caed..7f35075b --- a/debian_install.sh +++ b/debian_install.sh @@ -146,13 +146,13 @@ clone_dispatcharr_repo() { git fetch origin git checkout $DISPATCH_BRANCH git pull origin $DISPATCH_BRANCH - EOSU - else - echo ">>> Cloning Dispatcharr repo into ${APP_DIR}..." - rm -rf "$APP_DIR"/* - chown "$DISPATCH_USER:$DISPATCH_GROUP" "$APP_DIR" - su - "$DISPATCH_USER" -c "git clone -b $DISPATCH_BRANCH https://github.com/Dispatcharr/Dispatcharr.git $APP_DIR" - fi +EOSU + else + echo ">>> Cloning Dispatcharr repo into ${APP_DIR}..." + rm -rf "$APP_DIR"/* + chown "$DISPATCH_USER:$DISPATCH_GROUP" "$APP_DIR" + su - "$DISPATCH_USER" -c "git clone -b $DISPATCH_BRANCH https://github.com/Dispatcharr/Dispatcharr.git $APP_DIR" + fi } ##############################################################################