Re: Interesting problem in timezoneconf package
On Sun, Jul 27, 2003 at 09:24:55AM +0200, Christian Perrier wrote:
> The dh_installdocs part comes from a #DEBHELPER# in
> debian/postinst.
>
> When recompiling now, this doesnt exist anymore and thus we end up
> with?:
>
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> my $temp="set -e\nset -- @ARGV\n" . << 'EOF';
> if [ "$1" = "configure" ]; then
> [ -x /usr/sbin/update-configlets ] && /usr/sbin/update-configlets
> fi
>
> EOF
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> If /usr/sbin/update-configlets doesn't exist, the return code is then
> 1, thus explaining failure.
I always put 'exit 0' after #DEBHELPER# to prevent this problem.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: