I found the following while trying to rebuild this package after
Branden agreed for a NMU implementing a switch to po-debconf for the
templates.
If one tries to rebuild timezoneconf on a *current* sarge machine, the
build is OK, but the postinst dies with :
bash-2.05b# dpkg -i
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
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'
On Sun, Jul 27, 2003 at 07:19:44PM +0900, Junichi Uekawa wrote:
[somebody broke attributions here]
my $temp=set -e\nset -- @ARGV\n . 'EOF';
if [ $1 = configure ]; then
[ -x /usr/sbin/update-configlets ] /usr/sbin/update-configlets
fi
EOF
If
On Sun, 2003-07-27 at 12:44, Colin Watson wrote:
I tested this before posting. No, -e is a little more forgiving than
that, as stated in bash(1):
-e Exit immediately if a simple command (see SHELL
GRAMMAR above) exits with a non-zero status.
5 matches
Mail list logo