Comment 1 for bug 368282

Revision history for this message
Martin Pitt (pitti) wrote :

This actually comes from xorg's package hook. I guess there's no way around having $DISPLAY set for some commands, but maybe it can be quiesced a bit. Something like this, perhaps:

  if os.environ.get('DISPLAY'):
      # do commands which need $DISPLAY
  # do commands which don't need $DISPLAY