function check { if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then return 1 else return 0 fi } DESCRIPTION="Join the dark side with Chromium (Consider Firefox... You can still install Chromium later.)" PACKAGES="chromium" function post-install { echo "web/evil" >> /tmp/stage-2-choices }