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

Bug#519268: lintian: same problem in mksh, but with a twist



Raphael Geissert <atomo64+debian@gmail.com> writes:
> Russ Allbery wrote:

>> The fix for the first and the last will be to just bail in Lintian if
>> there are variables on the dpkg-divert and not assume we know what
>> people are doing.  I'll get that into the next release.

> I'm already working on another way to fix it by replacing var names with
> regexes, more on it later.

I don't think doing anything other than bailing is going to make sense.
The preinst and postrm scripts could use completely different loops and
expressions and phrase the conditionals in entirely different ways.
Unless you've found a way to deal with that, I'd rather just suppress the
test if variables are used.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: