dh_installsystemd and Also= directive (about perl filetest operators)

Daniele Nicolodi daniele at grinta.net
Mon Jun 11 18:53:57 BST 2018

On 6/11/18 12:04 AM, Niels Thykier wrote:
> Thanks for working in improving debhelper and particular improving its
> testsuite in the process. :)

I'm only looking ad dh_installsystemd. I think the code can be improved
a bit and the test suite extended to cover more cases. What's the
preferred way to send patches?

>> [...]  However, in the case of symlinks
>> execution never goes past the 'return unless -f $name' test and %aliases
>> is never populated.
> The "-f" test returns true for any file or symlink to a file by default:


> The perldoc from "perldoc -f -X" is not particularly clear on this.

Indeed, I was mislead by the perldoc entry. My tests must be failing for
some other reason then. I'll investigate further.

Thanks. Cheers,

More information about the Pkg-systemd-maintainers mailing list