[Lunar-commits] <moonbase> virtualbox: rebuild icon cache after install

Zachary McGrew zmcgrew at lunar-linux.org
Mon Mar 15 03:57:02 CET 2010


commit d05fa06dc9754007788f6ac5d0d6c04573a39640
Author: Zachary McGrew <zmcgrew at lunar-linux.org>
Date:   Mon Feb 22 15:20:42 2010 -0800

    virtualbox: rebuild icon cache after install
    
    Now the icon actually shows up in menus! =)
---
 x11-utils/virtualbox/BUILD |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/x11-utils/virtualbox/BUILD b/x11-utils/virtualbox/BUILD
index 2605e19..1270340 100644
--- a/x11-utils/virtualbox/BUILD
+++ b/x11-utils/virtualbox/BUILD
@@ -40,9 +40,10 @@
   mkdir -p /etc/vbox &&
   echo "INSTALL_DIR=$MODULE_PREFIX" > /etc/vbox/vbox.cfg &&
 
-  # Install .desktop entry and icon
+  # Install .desktop entry and icon, then update the icon cache
   install -D -m644 /usr/lib/virtualbox/virtualbox.desktop /usr/share/applications/virtualbox.desktop &&
   install -D -m644 /usr/lib/virtualbox/VBox.png /usr/share/icons/hicolor/32x32/apps/VBox.png &&
+  gtk-update-icon-cache /usr/share/icons/hicolor &&
 
   # Create the vboxusers group
   groupadd -f vboxusers


More information about the Lunar-commits mailing list