Exactly! There is also a term "kaai-kari" meaning vegetable dry side dish for a main course. Kari as a term is as old as pepper. Any dish that had pepper used to be called as kari (see [1])
[1] https://dsalsrv04.uchicago.edu/cgi-bin/app/tamil-lex_query.p...