You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
415 B

#!/bin/sh
# Only one desktop environment should be installed to enhance the desktop
# task. tasksel/desktop can be preseeded to select which to install.
set -e
# Avoid starting debconf if not being used to test which enhancing task to
# install.
if [ ! "$TESTING_ENHANCER" ]; then
exit 1
fi
. /usr/share/debconf/confmodule
if db_get "tasksel/desktop" && echo "$RET" | grep -q "$2"; then
exit 0
else
exit 1
fi