function check { if grep "desktop/none" /tmp/stage-2-choices >/dev/null 2>&1; then return 1 else return 0 fi } DESCRIPTION="Install VLC" #TODO: fluidsynth MIDI stuff PACKAGES="vlc" function post-install { echo "multimedia/vlc" >> /tmp/stage-2-choices }