File: check-tasksel-setup

package info (click to toggle)
debian-edu-install 2.12.11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,048 kB
  • sloc: sh: 1,263; makefile: 105
file content (21 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#
set -e

# Use predictable language setting.
export LC_ALL=C

/usr/lib/education-tasks/edu-tasksel-setup setup

if [ ! "" = "$(tasksel --new-install --list-tasks | grep education)" ] ; then
	echo
	echo success: edu-tasksel-setup worked like expected, tasks-list:
	echo
	tasksel --new-install --list-tasks
	echo
	exit 0
else
	echo error: edu-tasksel-setup failed, no education tasks included
	exit 1
fi