Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configuration from cmdline doesn't override the configuration in the file #117

Open
imz opened this issue Jul 26, 2023 · 0 comments
Open

Comments

@imz
Copy link

imz commented Jul 26, 2023

0.84.6ubuntu5

That's how I discovered the problem.

First, run synaptic with a custom option in the command line:

# sed -ne '/description/I p' ~/.synaptic/synaptic.conf
# synaptic -o Synaptic::descriptionParser=2 # stripws parser
# sed -ne '/description/I p' ~/.synaptic/synaptic.conf 
  descriptionParser "2";
# 

Well, the option has been saved in the file, which might be unexpected, but at least explainable under a certain logic.

So, if we run synaptic again without such option, we see the "stripws" formatting of descriptions.

Now, the problem is that even specifying the option with another value now does not affect synaptic:

# synaptic -o Synaptic::descriptionParser=1 # deb parser

and we see still the "stripws" formatting.

(Ultimately, clean up from the experiment:

~# sed -ne '/description/I p' ~/.synaptic/synaptic.conf 
  descriptionParser "2";
# sed -i -e '/description/I d' ~/.synaptic/synaptic.conf 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant