function check { if grep "desktop/icewm" /tmp/stage-2-choices >/dev/null 2>&1; then if grep "audio/none" /tmp/stage-2-choices >/dev/null 2>&1; then return 1 else return 0 fi else return 1 fi } DESCRIPTION="Add tray icon for network and audio" #TODO PACKAGES="" function post_install { echo "systray/network-and-audio" >> /tmp/stage-2-choices }