File: 05preseed

package info (click to toggle)
preseed 1.117
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 840 kB
  • sloc: sh: 439; perl: 153; makefile: 5
file content (16 lines) | stat: -rwxr-xr-x 317 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -e

# Avoid perl warnings in any of the chroot call below
export LANG=C

. /usr/share/debconf/confmodule
. /lib/preseed/preseed.sh

if [ -e $logfile ]; then
	grep -v "^d-i[ 	]" $logfile | (
		if ! log-output -t preseed chroot /target debconf-set-selections; then
			error load_error $logfile
		fi
	)
fi