[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Doubt: update-alternative during debian/rules? (GTK2 vs GTK3)

Dňa ut, 13. nov 2018 22:57 Santiago Vila <sanvila@unex.es> napísal(a):
On Mon, Nov 12, 2018 at 01:26:11PM +0100, JOSE LUIS BLANCO CLARACO wrote:

> And my question is: is it "acceptable" to run `update-alternatives`
> during debian/rules? [...]

I don't think so. Would that work at all if you are using fakeroot? 

Certainly not acceptable. Package build should not touch anything outside of package. Ie. no side effects. 

Anyway, what would be the goal? If specific binary is needed, then setup env vars correctly. 

Reply to: