[Goodies-commits] r6675 - gigolo/trunk
Enrico Troeger
enrico at xfce.org
Wed Feb 11 20:26:37 CET 2009
Author: enrico
Date: 2009-02-11 19:26:37 +0000 (Wed, 11 Feb 2009)
New Revision: 6675
Modified:
gigolo/trunk/wscript
Log:
No need to update the icon cache as long as we don't install any icons.
Modified: gigolo/trunk/wscript
===================================================================
--- gigolo/trunk/wscript 2009-02-11 16:34:01 UTC (rev 6674)
+++ gigolo/trunk/wscript 2009-02-11 19:26:37 UTC (rev 6675)
@@ -138,20 +138,21 @@
def shutdown():
# the following code was taken from midori's WAF script, thanks
- if Options.commands['install'] or Options.commands['uninstall']:
- dir = Build.bld.get_install_path('${DATADIR}/icons/hicolor')
- icon_cache_updated = False
- if not Options.options.destdir:
- try:
- if not Utils.exec_command('gtk-update-icon-cache -q -f -t %s' % dir):
- Utils.pprint('YELLOW', "Updated Gtk icon cache.")
- icon_cache_updated = True
- except:
- Utils.pprint('RED', "Failed to update icon cache.")
- if not icon_cache_updated:
- Utils.pprint('YELLOW', "Icon cache not updated. After install, run this:")
- Utils.pprint('YELLOW', "gtk-update-icon-cache -q -f -t %s" % dir)
- elif Options.options.update_po:
+ # (disabled because we don't need it at all as long as we don't have an own icon :( )
+ #~ if Options.commands['install'] or Options.commands['uninstall']:
+ #~ dir = Build.bld.get_install_path('${DATADIR}/icons/hicolor')
+ #~ icon_cache_updated = False
+ #~ if not Options.options.destdir:
+ #~ try:
+ #~ if not Utils.exec_command('gtk-update-icon-cache -q -f -t %s' % dir):
+ #~ Utils.pprint('YELLOW', "Updated Gtk icon cache.")
+ #~ icon_cache_updated = True
+ #~ except:
+ #~ Utils.pprint('RED', "Failed to update icon cache.")
+ #~ if not icon_cache_updated:
+ #~ Utils.pprint('YELLOW', "Icon cache not updated. After install, run this:")
+ #~ Utils.pprint('YELLOW', "gtk-update-icon-cache -q -f -t %s" % dir)
+ if Options.options.update_po:
os.chdir('%s/po' % srcdir)
try:
try:
More information about the Goodies-commits
mailing list