function check { if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then return 1 else return 0 fi } DESCRIPTION="Install Firefox - Extended Support Release (ESR)" PACKAGES="firefox-esr" function post-install { echo "web/firefox-esr" >> /tmp/stage-2-choices }