#!/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

