Fix postinstall usage of gtk3-update-icon-cache
This commit is contained in:
parent
30a4ecb554
commit
3b5cbc9f81
|
@ -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__
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue