diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-06-20 19:02:55 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-06-20 19:02:55 -0500 |
commit | 094ca7d7986027571672cfbcc955310afa6af336 (patch) | |
tree | 19efeb84224f60826a51aca1f3fc12d97f46addc /data | |
parent | 3d4daff706c39fb6ebdd29b950f3f0ea1402116d (diff) | |
download | ayatana-indicator-session-094ca7d7986027571672cfbcc955310afa6af336.tar.gz ayatana-indicator-session-094ca7d7986027571672cfbcc955310afa6af336.tar.bz2 ayatana-indicator-session-094ca7d7986027571672cfbcc955310afa6af336.zip |
add a post-install hook to update the icon cache after installation. Taken from geary/icons/CMakeLists.txt. (Thanks, Eric!)
Diffstat (limited to 'data')
-rw-r--r-- | data/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 91f79a5..6700163 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -71,3 +71,6 @@ install (DIRECTORY icons DESTINATION "${ICON_DIR}" FILES_MATCHING PATTERN "*.png" PATTERN "*.svg") +install(CODE "execute_process (COMMAND gtk-update-icon-cache -t -f ${ICON_DIR})" + CODE "message (STATUS \"Updating icon cache\")") + |