Fix postinstall usage of gtk3-update-icon-cache

This commit is contained in:
Jeffrey Wildman 2015-09-06 22:19:05 -04:00
parent 30a4ecb554
commit 3b5cbc9f81
2 changed files with 2 additions and 2 deletions

View file

@ -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__

View file

@ -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