On Fri, 4 Nov 2005, Richard Bos wrote:
Op vrijdag 04 november 2005 09:02, schreef Christoph Thiel:
smart doesn't know about SuSEconfig yet, but we could simply add a hook to trigger SuSEconfig from smart.
Could you make it in similar as is done for apt, where the backend is configurable and the postscript can be enabled or disabled (using --(no-)postscript). Would this include ldconfig as well?
As SuSEconfig isn't generally triggered by postinstall scripts, we will need to have smart trigger it after each transaction. This won't inlcude ldconfig, which I basically wouldn't recommend to disable.
Do you mean with the last line: "run ldconfig, after updating packages"?
I was thinking of RPM postinstall scripts.
In apt SuSEconfig and ldconfig are you part of 1 postscript. If the poststript execution is enable both will be executed. I would expect the from a smartpm postscript.
Sure, that sounds reasonable ;) Regards Christoph