--- var/lib/dpkg/info/cdrom-detect.postinst.orig	2007-09-01 12:30:37.000000000 +0200
+++ var/lib/dpkg/info/cdrom-detect.postinst	2007-09-01 12:32:29.000000000 +0200
@@ -34,7 +34,7 @@
 
 	devices="$(list-devices cd; list-devices maybe-usb-floppy)"
 	for device in $devices; do
+		if mount -t iso9660 -o ro,exec $device /cdrom && mount -o bind /cdrom/debian /cdrom; then
-		if mount -t iso9660 -o ro,exec $device /cdrom; then
 			log "CD-ROM mount succeeded: device=$device"
 			mounted=1
 			db_set cdrom-detect/cdrom_device $device
@@ -101,7 +101,7 @@
 		if [ "$module" != "none" ]; then
 			modprobe $module
 		fi
+		if mount -t iso9660 -o ro,exec $device /cdrom && mount -o bind /cdrom/debian /cdrom; then
-		if mount -t iso9660 -o ro,exec $device /cdrom; then
 			log "CD-ROM mount succeeded: device=$device"
 			mounted=1
 			break

