if subprocess.call(['which', 'dselect'], stdout=subprocess.PIPE) != 0:
print >> sys.stderr, 'INFO: installing dselect (needed by this script)'
if subprocess.call(['which', 'dselect'], stdout=subprocess.PIPE) != 0:
print >> sys.stderr, 'INFO: installing dselect (needed by this script)'