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

Bug#494723: command-with-path-in-maintainer-script: misparses command



Package: lintian
Version: 1.24.3
Severity: minor

Hi,

This is a cosmetic issue only. The test command-with-path-in-maintainer-script 
misparses the command it detected. See e.g. in phpmyadmin:

command-with-path-in-maintainer-script

    * postrm:12 /usr/sbin/lighty
    * postinst:13 /usr/sbin/lighty

While the actual command used is "/usr/sbin/lighty-enable-mod".

As a side note, we currently use a construct commonly advised, like this:
                if [ -x /usr/sbin/lighty-enable-mod ] ; then
                        /usr/sbin/lighty-enable-mod phpmyadmin auth
                fi
do you recommend to replace the part inside the if with
`which lighty-enable-mod` then?


cheers,
Thijs

Attachment: pgpBuTQDQbCIQ.pgp
Description: PGP signature


Reply to: