gconf: refresh cache postinstall
This commit is contained in:
parent
c68ac96262
commit
994afa8a9b
1 changed files with 10 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
class Gconf < Formula
|
||||
desc "GConf is a system for storing user application preferences"
|
||||
homepage "http://projects.gnome.org/gconf/"
|
||||
homepage "https://projects.gnome.org/gconf/"
|
||||
url "https://download.gnome.org/sources/GConf/3.2/GConf-3.2.6.tar.xz"
|
||||
sha256 "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c"
|
||||
|
||||
|
@ -14,7 +14,15 @@ class Gconf < Formula
|
|||
|
||||
def install
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
"--disable-silent-rules", "--prefix=#{prefix}",
|
||||
"--sysconfdir=#{etc}"
|
||||
system "make", "install"
|
||||
|
||||
# Refresh the cache post-install, not during install.
|
||||
rm lib/"gio/modules/giomodule.cache"
|
||||
end
|
||||
|
||||
def post_install
|
||||
system Formula["glib"].opt_bin/"gio-querymodules", HOMEBREW_PREFIX/"lib/gio/modules"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue