From: Russ Allbery Date: Thu, 6 Nov 2008 21:05:57 +0000 (-0800) Subject: Adjust copyright extraction command for new tar behavior X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=531d960e877a21efdc301c960a700fecf3c8dd25;p=debian%2Fdebian-policy.git Adjust copyright extraction command for new tar behavior * Add --wildcards to the sample tar command in appendix B.1 for extracting the package copyright file, adjusting for new tar option behavior. Thanks, Yan Morin. (Closes: #503685) --- diff --git a/debian/changelog b/debian/changelog index f866943..4772585 100644 --- a/debian/changelog +++ b/debian/changelog @@ -48,6 +48,9 @@ debian-policy (3.8.1.0) UNRELEASED; urgency=low * Clarify that translation is only required for user-visible debconf messages. Capitalize "Debian Configuration Management Specification" uniformly. Thanks, Julian Andres Klode. (Closes: #492624) + * Add --wildcards to the sample tar command in appendix B.1 for + extracting the package copyright file, adjusting for new tar option + behavior. Thanks, Yan Morin. (Closes: #503685) * Reword the requirement that maintainer scripts exit with a zero status on success to avoid double-negatives. diff --git a/policy.sgml b/policy.sgml index 5e7a287..7de382d 100644 --- a/policy.sgml +++ b/policy.sgml @@ -9296,7 +9296,7 @@ install-info --quiet --remove /usr/share/info/foobar.info To view the copyright file for a package you could use this command: - dpkg --fsys-tarfile filename.deb | tar xOf - \*/copyright | pager + dpkg --fsys-tarfile filename.deb | tar xOf - --wildcards \*/copyright | pager