fix: removerepo and LC_ALL=C for info command

This commit is contained in:
2025-03-19 08:26:53 +03:00
parent 3c37310f0d
commit 4ac2432770
8 changed files with 113 additions and 29 deletions

View File

@ -160,6 +160,12 @@ func RemoveRepoCmd() *cli.Command {
os.Exit(1)
}
err = cfg.Save(cfgFl)
if err != nil {
slog.Error(gotext.Get("Error encoding config"), "err", err)
os.Exit(1)
}
db := database.New(cfg)
err = db.Init(ctx)
if err != nil {