~drudge/polly/add-copy-menuitem

« back to all changes in this revision

Viewing changes to bin/polly

  • Committer: Conscious User
  • Date: 2013-10-15 22:07:06 UTC
  • Revision ID: conscioususer@gmail.com-20131015220706-whpywyu80up4zhp2
fix gconf schema folder

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
 
179
179
    try:
180
180
        with open(u'/dev/null', u'w') as file:
181
 
            subprocess.check_call([u'gconftool-2', u'--install-schema-file', os.path.join(script_data_prefix, u'gconf', u'schemas', u'polly.schemas')], stdout=file, stderr=file)
 
181
            subprocess.check_call([u'gconftool-2', u'--install-schema-file', os.path.join(script_path, u'polly.schemas')], stdout=file, stderr=file)
182
182
    except (IOError, CalledProcessError):
183
183
        gconf_prefix = os.path.join(os.environ[u'HOME'], u'.gconf')
184
184