Bug#275303: tasksel: Add a "standard" test script for common operations on tasks
Package: tasksel
Version: 2.13
Severity: wishlist
Tags: patch
Hi,
I wrote a very simple test script which can handful for CDDs. It can
be installed, for example, in /usr/share/tasksel/tests/standard.
Cheers,
Free
#!/bin/sh
#
# Simple test script to automatically install/skip/mark/show tasks.
#
# To enable this test insert your tasks stanza
# a keyword like:
#
# Test-standard: mark
#
case "$2" in
install)
exit 0 # do not display, but do install task
;;
skip)
exit 1 # do not display task
;;
mark)
exit 2 # display task, marked for installation
;;
show)
exit 3 # display task, not marked for installation
;;
*)
exit 1 # unknown value, skip the task
esac
Reply to: