Gentoo Archives: gentoo-pms

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] [PATCH] pkg-mgr-commands.tex: keepdir accepts multiple arguments.
Date: Sat, 13 Jan 2018 20:20:19
Message-Id: 23130.27132.960993.880920@a1i15.kph.uni-mainz.de
1 Similar to dodir, keepdir accepts multiple arguments.
2 It did so since its inception in 2002:
3 https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-src/portage/bin/ebuild.sh?revision=1.46&view=markup#l89
4 ---
5 pkg-mgr-commands.tex | 8 ++++----
6 1 file changed, 4 insertions(+), 4 deletions(-)
7
8 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
9 index ab9c586..9a80370 100644
10 --- a/pkg-mgr-commands.tex
11 +++ b/pkg-mgr-commands.tex
12 @@ -518,10 +518,10 @@ can be extended or reduced (see below). The options that can be passed to \t{doh
13 \item[fperms] Acts as for \t{chmod}, but takes paths relative to the image directory. Failure
14 behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}.
15
16 -\item[keepdir] Creates a directory as for \t{dodir}, and an empty file whose name starts with
17 - \t{.keep} in that directory to ensure that the directory does not get removed by the
18 - package manager should it be empty at any point. Failure behaviour is EAPI dependent as per
19 - section~\ref{sec:failure-behaviour}.
20 +\item[keepdir] For each argument, creates a directory as for \t{dodir}, and an empty file whose
21 + name starts with \t{.keep} in that directory to ensure that the directory does not get removed
22 + by the package manager should it be empty at any point. Failure behaviour is EAPI dependent
23 + as per section~\ref{sec:failure-behaviour}.
24
25 \item[newbin] \featurelabel{newfoo-stdin} As for \t{dobin}, but takes two parameters. The first is
26 the file to install; the second is the new filename under which it will be installed. In EAPIs
27 --
28 2.15.1