From a06016425c6471838eba7ac810d97314fbfe850e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Sat, 17 Jun 2017 10:33:17 +0200 Subject: 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. --- pkg-mgr-commands.tex | 10 ++++++---- 1 file 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} -- cgit v1.2.3