I forgot to patch the trap, new patch attached (it includes the previous one).
Brice
--- debian/local/dexconf | 4 ++++ 1 file changed, 4 insertions(+) Index: xorg-7.1.0/debian/local/dexconf =================================================================== --- xorg-7.1.0.orig/debian/local/dexconf 2007-01-06 17:50:41.000000000 +0100 +++ xorg-7.1.0/debian/local/dexconf 2007-01-06 18:11:21.000000000 +0100 @@ -117,6 +117,7 @@ trap 'if [ -e "$DEXCONFTMPDIR/backup" ] && [ -n "$XF86CONFIG" ]; then \ cat "$DEXCONFTMPDIR/backup" >"$XF86CONFIG"; \ fi; \ + exec 4<&-; \ rm -rf "$DEXCONFTMPDIR"; \ bomb "received signal; aborting"' HUP INT QUIT TERM @@ -414,6 +415,9 @@ EndSection SECTION +# Close file descriptor 4 before we delete temporary files +exec 4<&- + # Tell debconf to stop listening to us. db_stop