1 |
commit: e900e7c9c02cc00cfa13ab50f440dfba236e9417 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 28 21:14:31 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 29 20:00:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=e900e7c9 |
7 |
|
8 |
genkernel: Combine kerncache conditionals |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
genkernel | 7 ++----- |
13 |
1 file changed, 2 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/genkernel b/genkernel |
16 |
index c3aa8d1..d8700ea 100755 |
17 |
--- a/genkernel |
18 |
+++ b/genkernel |
19 |
@@ -267,17 +267,14 @@ then |
20 |
fi |
21 |
fi |
22 |
|
23 |
-if isTrue "${CMD_INSTALL}" |
24 |
+if isTrue "${KERNCACHE_IS_VALID}" |
25 |
then |
26 |
- if isTrue "${KERNCACHE_IS_VALID}" |
27 |
+ if isTrue "${CMD_INSTALL}" |
28 |
then |
29 |
print_info 1 '' 1 0 |
30 |
gen_kerncache_extract_kernel |
31 |
fi |
32 |
-fi |
33 |
|
34 |
-if isTrue "${KERNCACHE_IS_VALID}" |
35 |
-then |
36 |
if ! isTrue "${BUILD_STATIC}" |
37 |
then |
38 |
if ! isTrue "${CMD_INSTALL}" && [ -z "${INSTALL_MOD_PATH}" ] |