File: stage3

package info (click to toggle)
base-config 0.33.2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 472 kB
  • ctags: 171
  • sloc: sh: 777; perl: 538; makefile: 47; ansic: 27
file content (15 lines) | stat: -rwxr-xr-x 381 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e
. /usr/share/debconf/confmodule

db_get base-config/selection-path
if [ \( "$RET" = "simple" -a -x /usr/bin/tasksel \) -o ! -x /usr/bin/dselect ]; then
	# Return 0 if tasksel should be run.
	exit 0
else
	# Show message about using dselect and return 1
	db_fset base-config/dselect isdefault true
	db_input medium base-config/dselect || true
	db_go || true

	exit 1
fi