File: edu-profile

package info (click to toggle)
debian-edu 2.13.5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 840 kB
  • sloc: sh: 111; makefile: 18
file content (19 lines) | stat: -rwxr-xr-x 328 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# Choose which Debian Edu profiles to enable, based on the information
# collected by debian-edu-install.

set -e

. /usr/share/debconf/confmodule

task=$1
shift
RC=3
if db_get "debian-edu-install/profile" ; then
    for profile in $@ ; do
	if echo "$RET" | grep -q "$profile"; then
	    RC=2
	fi
    done
fi
exit $RC