summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-06-17 10:33:17 +0200
committerUlrich Müller <ulm@gentoo.org>2017-06-17 10:33:17 +0200
commita06016425c6471838eba7ac810d97314fbfe850e (patch)
treed147bf5297e8268c7c97851832479e5062be6d27
parentintroduction.tex: Add hyperlink for mailing list. (diff)
downloadpms-a06016425c6471838eba7ac810d97314fbfe850e.tar.gz
pms-a06016425c6471838eba7ac810d97314fbfe850e.tar.bz2
pms-a06016425c6471838eba7ac810d97314fbfe850e.zip
unpack: Clarify where decompressed files are written.
It is not entirely clear from the current wording where decompressed files are to be written, and if any name stored in their header (e.g. for gzip compressed files) should be used as the target filename. Thanks to mgorny for pointing this out.
-rw-r--r--pkg-mgr-commands.tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 363dea6..6fd35ae 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -827,10 +827,12 @@ has returned.
EAPIs. In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is banned as per
section~\ref{sec:banned-commands}.
-\item[unpack] Unpacks one or more source archives, in order, into the current directory. After
- unpacking, must ensure that all filesystem objects inside the current working directory (but not
- the current working directory itself) have permissions \t{a+r,u+w,go-w} and that all directories
- under the current working directory additionally have permissions \t{a+x}.
+\item[unpack] Unpacks one or more source archives, in order, into the current directory.
+ For compressed files, creates the target file in the current directory, with the compression
+ suffix removed from its name. After unpacking, must ensure that all filesystem objects inside
+ the current working directory (but not the current working directory itself) have permissions
+ \t{a+r,u+w,go-w} and that all directories under the current working directory additionally have
+ permissions \t{a+x}.
Arguments to \t{unpack} are interpreted as follows:
\begin{compactitem}