From 59845ba9b3df5df775cf8c5a65d30375b984e3c7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:08:26 +0200 Subject: Adding upstream version 3.68+deb11u1. Signed-off-by: Daniel Baumann --- tests/server | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 tests/server (limited to 'tests/server') diff --git a/tests/server b/tests/server new file mode 100755 index 0000000..3aeff7c --- /dev/null +++ b/tests/server @@ -0,0 +1,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 -- cgit v1.2.3