summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2022-12-15 09:04:57 +0000
committerNiels Thykier <niels@thykier.net>2022-12-15 09:04:57 +0000
commit2426fcf9192c84d556c9cb42d868abdab33b4c6a (patch)
treeabd53696ee81cec97884aeacface34905605e783
parente41b7d15c4b005def732cb9f82ed14171499689d (diff)
PROGRAMMING.md: Fix typos
Signed-off-by: Niels Thykier <niels@thykier.net>
-rw-r--r--doc/PROGRAMMING.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/PROGRAMMING.md b/doc/PROGRAMMING.md
index 69be8daa..fd28b6a8 100644
--- a/doc/PROGRAMMING.md
+++ b/doc/PROGRAMMING.md
@@ -89,7 +89,7 @@ results; programs can use them later. These variables are elements of the
`%dh` hash.
| switch | variable | description |
-| ------------------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+|---------------------|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `-v` | `VERBOSE` | should the program verbosely output what it is doing? |
| `--no-act` | `NO_ACT` | should the program not actually do anything? |
| `-i`,`-a`,`-p`,`-N` | `DOPACKAGES` | a space delimited list of the binary packages to act on (in `Dh_Lib.pm`, this is an array) |
@@ -361,9 +361,10 @@ The following keys are also set in the `%dh` hash when you call `init()`:
*must* be a real regular file. Dirs, devices and symlinks
(and everything else) *cannot* be restored by this.
If `$file` is passed multiple times (e.g. from different programs)
- only the first version is stored.
+ only the first version is stored.
CAVEAT: This *cannot* undo arbitrary "rm -fr"'ing. The dir,
- which is/was in `$file`, must be present when `dh_clean` is called.
+ which the `$file` is/was in, must be present when `dh_clean` is
+ called.
- `make_symlink($src, $dest, $tmp)`
@@ -664,7 +665,7 @@ This process requires debhelper/13.10 or later.
times (once with `-a` and once with `-i`). It is completely fine if this
leaves duplicate entries as dh_missing will deduplicate these.
- If your helper has a PROMISE, it must use `pkgfile-logged(<file>)`
- for its config files (see [#867246]).
+ for its config files (see [#867246]).
CAVEAT: This requires a dependency on "debhelper (>= 10.2.5)". Prior
to that version, debhelper will wrongly optimize your helper out.