cookutils rev 1014
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Nov 26 21:33:23 2017 +0000 (2017-11-26) |
parents | 47059b5d1648 |
children | f6c47e5f4a8e |
files | doc/receipts-v2.md modules/precheck |
line diff
1.1 --- a/doc/receipts-v2.md Fri Nov 24 17:20:05 2017 +0200 1.2 +++ b/doc/receipts-v2.md Sun Nov 26 21:33:23 2017 +0000 1.3 @@ -138,7 +138,7 @@ 1.4 Additional patterns for the `copy()`: 1.5 1.6 * `@rm` - quick alias for the `remove_already_packed` function: 1.7 - remove from the current package already copied files, that was already 1.8 + remove from the current package already copied files that was already 1.9 packed in any of previously packed packages (within current receipt); 1.10 * `@ico` - remove all the copied *hicolor* icons (if any) and copy only 16px 1.11 and 48px variants of *hicolor* icons. 1.12 @@ -244,13 +244,13 @@ 1.13 or numbers. It may be "1", "2", "z", or something more meaningful like "pam", 1.14 "gtk2", or "gtk3". 1.15 1.16 -Also you should know that default set with the empty name is always exists, 1.17 -for the backward compatibility, and for the cases when you don't want to use 1.18 +Also you should know that default set with the empty name always exists 1.19 +for the backward compatibility and for the cases when you don't want to use 1.20 the sets. 1.21 1.22 How to use the sets? 1.23 1.24 -First, you should define which set you want to use for each package, appending 1.25 +First, you should define which set you want to use for each package appending 1.26 package names in the `$SPLIT` variable. You may not make it for the default set 1.27 with empty name. Few examples: 1.28 1.29 @@ -273,7 +273,7 @@ 1.30 and then for all the sets you mention in the `$SPLIT` variable on the previous 1.31 step. You should make the business logic inside the `compile_rules()` function 1.32 to compile and install different variants based on the value of the `$SET` 1.33 -variable. This variable has an empty value for the default set, and the set 1.34 +variable. This variable has an empty value for the default set and the set 1.35 name in other cases. Few examples how you make the job: 1.36 1.37 ```bash 1.38 @@ -341,5 +341,5 @@ 1.39 ``` 1.40 1.41 Thirdly, make `genpkg_rules()` as usual. *Cook* will switch to the required 1.42 -set automatically, based on conformity between packages and sets, that you 1.43 +set automatically based on conformity between packages and sets that you 1.44 described in the `$SPLIT` variable on the first step. That's all.
2.1 --- a/modules/precheck Fri Nov 24 17:20:05 2017 +0200 2.2 +++ b/modules/precheck Sun Nov 26 21:33:23 2017 +0000 2.3 @@ -1,7 +1,7 @@ 2.4 #!/bin/sh 2.5 # 2.6 # precheck - module of the SliTaz Cook 2.7 -# Preliminary checks of the receipt, made before the beginning of work. 2.8 +# Preliminary checks of the receipt made before the beginning of work. 2.9 # Copyright (C) SliTaz GNU/Linux - GNU GPL v3 2.10 # 2.11