/usr/lib/ubiquity/localechooser/finish-install is in ubiquity 2.21.63.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #! /bin/sh
set -e
. /usr/share/debconf/confmodule
ARCH=`udpkg --print-architecture`
db_get debian-installer/locale
LOCALE="$RET"
# Set locale to C if it has not yet been set
# This can happen during e.g. s390 installs where localechooser is not run
[ -z "$LOCALE" ] && LOCALE="C"
LANGUAGE=${LOCALE%%_*}
# Install specific packages depending on selected language
if [ "$LOCALE" != "C" ] ; then
# Other language specific packages
case "$LANGUAGE" in
ar|he|fa)
# RTL languages (Arabic, Hebrew, Farsi)
apt-install libfribidi0 || true
;;
esac
fi
exit 0
|