source: trunk/athena/bin/bugme/bugme.xsession @ 24427

Revision 24427, 281 bytes checked in by jhamrick, 14 years ago (diff)
Make it so the xsession script only runs when debathena-bugme is installed (trac #348)
Line 
1installed_status="$(dpkg-query -W -f='${Status}\n' debathena-bugme 2>&1 | grep '\(not-installed\|No packages found\)')"
2if [ -z "$installed_status" ]; then
3   if [ "$(machtype -q)" = "quickstation" ] && [ -x /usr/bin/bugme ]; then
4       STARTUP="/usr/bin/bugme $STARTUP"
5   fi
6fi
Note: See TracBrowser for help on using the repository browser.