Merge pull request #334 from RocketCaptain/main

indentation in the `clone_dispatcharr_repo` function for consistency …
This commit is contained in:
SergeantPanda 2025-08-30 18:48:04 -05:00 committed by GitHub
commit 58446fdd33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

14
debian_install.sh Normal file → Executable file
View file

@ -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
}
##############################################################################