From 7fc5d30ca1bba36870490c37b3daecf0ccd805cb Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Thu, 31 Aug 2023 16:38:58 +0800 Subject: [PATCH] Add softwares --- chsrc.c | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/chsrc.c b/chsrc.c index 0fc487b..1933ab6 100644 --- a/chsrc.c +++ b/chsrc.c @@ -564,7 +564,12 @@ static const char const **os_packagers[] = { os_ubuntu -}; +}, + + +*wr_tex[] = {"tex", "latex", "ctan", NULL, NULL}, + +**wr_softwares[] = {wr_tex}; #undef chsrcfunc @@ -664,6 +669,8 @@ main (int argc, char const *argv[]) call_cmd ((void*) packager[k+1], cmdarg); } } + goto match_end; + for (int i=0; i