fish: fix component order

This commit is contained in:
commitay 2018-04-27 10:33:17 +10:00
parent b70395bd46
commit 6bb7534d5f

View file

@ -44,6 +44,12 @@ class Fish < Formula
system "make", "install"
end
def post_install
(pkgshare/"vendor_functions.d").mkpath
(pkgshare/"vendor_completions.d").mkpath
(pkgshare/"vendor_conf.d").mkpath
end
def caveats; <<~EOS
You will need to add:
#{HOMEBREW_PREFIX}/bin/fish
@ -55,12 +61,6 @@ class Fish < Formula
EOS
end
def post_install
(pkgshare/"vendor_functions.d").mkpath
(pkgshare/"vendor_completions.d").mkpath
(pkgshare/"vendor_conf.d").mkpath
end
test do
system "#{bin}/fish", "-c", "echo"
end