From 3b5cbc9f814e9b9ec8f7f0c1595faab20d147a51 Mon Sep 17 00:00:00 2001 From: Jeffrey Wildman Date: Sun, 6 Sep 2015 22:19:05 -0400 Subject: [PATCH] Fix postinstall usage of gtk3-update-icon-cache --- virt-manager.rb | 2 +- virt-viewer.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/virt-manager.rb b/virt-manager.rb index 7ed74c4..2dcb4f8 100644 --- a/virt-manager.rb +++ b/virt-manager.rb @@ -82,7 +82,7 @@ class VirtManager < Formula # manual schema compile step system "#{Formula["glib"].opt_bin}/glib-compile-schemas", "#{HOMEBREW_PREFIX}/share/glib-2.0/schemas" # manual icon cache update step - system "#{Formula["gtk+"].opt_bin}/gtk-update-icon-cache", "#{HOMEBREW_PREFIX}/share/icons/hicolor" + system "#{Formula["gtk+3"].opt_bin}/gtk3-update-icon-cache", "#{HOMEBREW_PREFIX}/share/icons/hicolor" end end __END__ diff --git a/virt-viewer.rb b/virt-viewer.rb index 244277e..cc692db 100644 --- a/virt-viewer.rb +++ b/virt-viewer.rb @@ -32,6 +32,6 @@ class VirtViewer < Formula # manual update of mime database system "#{Formula["shared-mime-info"].opt_bin}/update-mime-database", "#{HOMEBREW_PREFIX}/share/mime" # manual icon cache update step - system "#{Formula["gtk+"].opt_bin}/gtk-update-icon-cache", "#{HOMEBREW_PREFIX}/share/icons/hicolor" + system "#{Formula["gtk+3"].opt_bin}/gtk3-update-icon-cache", "#{HOMEBREW_PREFIX}/share/icons/hicolor" end end