function check { if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then return 1 else return 0 fi } DESCRIPTION="LXDE Terminal (recommended)" PACKAGES="lxterminal" function post_install { echo "terminal/lxterminal" >> /tmp/stage-2-choices }