Install symlinks for glib schema and icons

This commit is contained in:
Jeffrey Wildman 2015-01-05 09:37:10 -05:00
parent 9a7379651a
commit 2be28dfff0
2 changed files with 6 additions and 3 deletions

View file

@ -18,4 +18,3 @@ Note: SSH passwords for connecting to remote URIs are not prompted unless --debu
* Get vnc console working: need formulas for dependencies gtk-vnc and spice-gtk3. * Get vnc console working: need formulas for dependencies gtk-vnc and spice-gtk3.
* Extend formula to support brewing virt-manager with system python. * Extend formula to support brewing virt-manager with system python.
* When available, update url for libvirt-python to pypi.python.org. * When available, update url for libvirt-python to pypi.python.org.
* Symlink installed files, e.g. schema files.

View file

@ -68,7 +68,11 @@ class VirtManager < Formula
bin.install Dir[libexec/"bin/*"] bin.install Dir[libexec/"bin/*"]
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
# TODO: symlink the schema files in /usr/local/share/glib-2.0/schemas # install and link schemas
share.install Dir[libexec/"share/glib-2.0"]
# install and link icons
share.install Dir[libexec/"share/icons"]
end end
def post_install def post_install