/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Martin Albisetti
  • Date: 2008-03-05 11:29:24 UTC
  • Revision ID: argentina@gmail.com-20080305112924-l8semaxvfmzn1mdr
Added checking that the install enviroment is Linux before updating the icon cache

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        # Disable for now - performance issues
40
40
        #self.data_files.extend(self._nautilus_plugin())
41
41
        install_data.run(self)
42
 
        cmd = os.popen('gtk-update-icon-cache -f -t /usr/share/icons/hicolor')
 
42
 
 
43
        if sys.platform[:5] == 'linux':
 
44
            cmd = os.popen('gtk-update-icon-cache -f -t /usr/share/icons/hicolor')
43
45
 
44
46
    def _compile_po_files(self):
45
47
        data_files = []