=== modified file 'debian/changelog' --- debian/changelog 2006-10-09 09:42:43 +0000 +++ debian/changelog 2006-10-17 11:54:56 +0000 @@ -1,3 +1,10 @@ +localechooser (1.20ubuntu8) UNRELEASED; urgency=low + + * Fetch the previous language before processing preseeding, so that + preseeding still works properly (closes: Malone #66532). + + -- Colin Watson Tue, 17 Oct 2006 12:54:10 +0100 + localechooser (1.20ubuntu7) edgy; urgency=low * If the language question was already marked as seen and the answer === modified file 'localechooser' --- localechooser 2006-10-09 09:39:56 +0000 +++ localechooser 2006-10-17 11:48:20 +0000 @@ -222,6 +222,14 @@ db_set debconf/language C fi +db_fget ${langname_all} seen +if [ "$RET" = true ]; then + db_get ${langname_all} + PREVIOUS_LANGUAGE="$RET" +else + PREVIOUS_LANGUAGE= +fi + # Support preseeding of the locale all in one variable for convenience. # Only check for preseeding if this is the first time localechooser is run. db_get localechooser/alreadyrun @@ -287,14 +295,6 @@ fi #log "Language input template is $template" -db_fget ${langname_all} seen -if [ "$RET" = true ]; then - db_get ${langname_all} - PREVIOUS_LANGUAGE="$RET" -else - PREVIOUS_LANGUAGE= -fi - db_input critical $template || [ $? -eq 30 ] if db_go; then