Re: Changing config from a %post?

2018-02-18 Thread Chris Adams
Once upon a time, Reindl Harald said: > Am 16.02.2018 um 15:35 schrieb Chris Adams: > >The imapproxy package config defaults to user "nobody", which should be > >changed (probably should have been done a while back, but whatever). > >The user is set in the config though, and the config has to be e

Re: Changing config from a %post?

2018-02-16 Thread Miroslav Suchý
Dne 16.2.2018 v 15:35 Chris Adams napsal(a): > What's the proper way to fix this? I can update the package to create a > user and use it in the default config, but is it correct to have a %post > that changes the existing config (something like a "sed -i")? > > I'd also like to switch it from run

Changing config from a %post?

2018-02-16 Thread Chris Adams
The imapproxy package config defaults to user "nobody", which should be changed (probably should have been done a while back, but whatever). The user is set in the config though, and the config has to be edited for the package to work (to at least set the upstream IMAP server), so changing the pack