Package: debhelper Version: 5.0.37.3 Severity: normal Hi,
my package's (mt-st) postrm is currently 100% dh-generated, and the last snippet happens to be written by dh_installudev. This generates something like: ] if [ "$1" = purge ]; then ] [ -L udevrule ] && rm udevrule ] fi If udevrule doesn't exist, the [ -L ] conditional will be the last command in the postrm that is executed and will therefore determine its exit status. Could you either - revert the logic to "[ ! -L udevrule ] || rm udevrule" or - have dh_installdeb, when creating a control script on its own (i.e., when not inserting X.debhelper into X), append a noop last command (":"? "exit 0"?) that overwrites the overall exit status? The original bug report against mt-st is #381901. Thanks, Jan
signature.asc
Description: Digital signature