4
. /usr/share/debconf/confmodule
6
db_get oem-config-udeb/frontend
7
apt-install "oem-config${RET:+-$RET ubiquity-frontend-$RET}"
8
if [ "$RET" = gtk ]; then
9
apt-install "oem-config-slideshow-ubuntu" || true
11
if [ "$RET" = kde ]; then
12
apt-install "ubiquity-slideshow-kubuntu" || true
14
# Restore title, since packages with debconf templates may have changed it.
15
db_settitle debian-installer/finish-install/title
17
db_input high oem-config-udeb/instructions || true
20
# Copy the value of debian-installer/locale over to the target system so that
21
# it gets used by oem-config as the default language selection.
22
# debian-installer/framebuffer is needed for oem-config-debconf.
23
db_get debian-installer/locale
25
db_get debian-installer/framebuffer
27
chroot /target debconf-set-selections <<EOF || true
28
oem-config debian-installer/locale select $LOCALE
29
oem-config debian-installer/framebuffer boolean $FRAMEBUFFER