Heat the vegetable oil in a large pan over medium heat. Stir in the red chilli flakes and cook until they begin to sizzle, then stir in the minced onion. Reduce the heat to low, cover, and cook, stirring occasionally until the onions have softened, about 20 minutes.
Remove the lid, increase the heat to medium, and stir in the ginger and yellow capsicum. Cook and stir until the ginger is fragrant, 2 to 3 minutes. Stir in the mangoes, pineapple, brown sugar, curry powder, and vinegar. Bring to a simmer, and cook for 30 minutes, stirring occasionally. Cool the chutney completely when done and store in airtight containers in the refrigerator.