[Pkg-bazaar-commits] ./bzr-gtk/unstable r441: Added checking that the install enviroment is Linux before updating the icon cache
Martin Albisetti
argentina at gmail.com
Fri Apr 10 07:50:18 UTC 2009
------------------------------------------------------------
revno: 441
committer: Martin Albisetti <argentina at gmail.com>
branch nick: bzr-gtk
timestamp: Wed 2008-03-05 11:29:24 +0000
message:
Added checking that the install enviroment is Linux before updating the icon cache
modified:
setup.py
-------------- next part --------------
=== modified file 'setup.py'
--- a/setup.py 2008-03-05 11:11:34 +0000
+++ b/setup.py 2008-03-05 11:29:24 +0000
@@ -39,7 +39,9 @@
# Disable for now - performance issues
#self.data_files.extend(self._nautilus_plugin())
install_data.run(self)
- cmd = os.popen('gtk-update-icon-cache -f -t /usr/share/icons/hicolor')
+
+ if sys.platform[:5] == 'linux':
+ cmd = os.popen('gtk-update-icon-cache -f -t /usr/share/icons/hicolor')
def _compile_po_files(self):
data_files = []
More information about the Pkg-bazaar-commits
mailing list