1 |
> This all happened because you didn't read this: |
2 |
> |
3 |
> pkg_preinst() { |
4 |
> if use make-symlinks && [[ ! ${VERY_BRAVE_OR_VERY_DUMB} == "yes" ]] && |
5 |
> [[ ${ROOT} == "/" ]] ; then |
6 |
> ewarn "setting USE=make-symlinks and emerging to / is very |
7 |
> dangerous." |
8 |
> ewarn "it WILL overwrite lots of system programs like: ls bash |
9 |
> awk grep (bug 60805 for full list)." |
10 |
> ewarn "If you are creating a binary only and not merging this |
11 |
> is probably ok." |
12 |
> ewarn "set env VERY_BRAVE_OR_VERY_DUMB=yes if this is realy |
13 |
> what you want." |
14 |
> die "silly options will destroy your system" |
15 |
> fi |
16 |
> |
17 |
> /bin/find is not associated with any packages because it's created in |
18 |
> postinst() |
19 |
> |
20 |
|
21 |
This was the best fragment of an ebuild I ever read. What a riot! |
22 |
~daid |