To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=57871


User cloph changed the following:

                  What    |Old value                 |New value
================================================================================
                    Status|REOPENED                  |RESOLVED
--------------------------------------------------------------------------------
                Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Fri Jan 13 17:39:57 -0800 
2006 -------
fixed.

The previous approach was "wrong" in another regard: It assumed that the script
can find the binary to update the cache. This would fail if there was a cache,
but the binary was (re)moved/not in the install_script_path.
In addition, it seems that some versions of gtk-update-cache are "clever" in the
regard that they only update the cache when it thinks it is worth updating the
cache.. Touching the directory before that solves this problem..

The scripts now check for existence of the cache first, not for the existence of
gtk-update-cache.
I now use:

for theme in gnome hicolor locolor; do
  if [ -e /usr/share/icons/$theme/icon-theme.cache ] ; then
    # touch it, just in case we cannot find the binary...
    touch /usr/share/icons/$theme
    if (which gtk-update-icon-cache); then
      gtk-update-icon-cache /usr/share/icons/$theme
    fi
    # ignore errors (e.g. when there is a cache, but no index.theme)
    true
  fi
done

setting to fixed again. Checked on mandrake 9.0 based system, SuSE 10.0, Fedora
Core 4.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to