summaryrefslogtreecommitdiffstats
path: root/tests/server
blob: 3aeff7ce696e1c2e53aa277227edb691088c9216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

if ! [ "$NEW_INSTALL" ]; then
	exit 3
fi

/usr/lib/tasksel/tests/desktop
ret=$?
case $ret in
	0|2) # is desktop
		exit 3 # not server
	;;
	*)
		exit 2 # likely is server
	;;
esac