1 |
> Index: ebuild.sh |
2 |
> =================================================================== |
3 |
> --- ebuild.sh (revision 2122) |
4 |
> +++ ebuild.sh (working copy) |
5 |
> @@ -631,11 +631,14 @@ |
6 |
> |
7 |
> dyn_setup() |
8 |
> { |
9 |
> + [ "$(type -t pre_pkg_setup)" != "file" ] && pre_pkg_setup |
10 |
> pkg_setup |
11 |
> + [ "$(type -t post_pkg_setup)" != "file" ] && post_pkg_setup |
12 |
> } |
13 |
|
14 |
On my system |
15 |
type -t non-existand-function returns "" |
16 |
and when it does it gives me "function" |
17 |
|
18 |
s/!= "file"/== "function"/g ?? |
19 |
|
20 |
|
21 |
-- |
22 |
gentoo-portage-dev@g.o mailing list |