Changes in chapter08/python.xml [7152faa:23d67d8]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/python.xml
r7152faa r23d67d8 1 <?xml version="1.0" encoding=" UTF-8"?>1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 156 156 <screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html 157 157 158 tar --no-same-owner \ 159 -xvf ../python-&python-version;-docs-html.tar.bz2 160 cp -R --no-preserve=mode python-&python-version;-docs-html/* \ 161 /usr/share/doc/python-&python-version;/html</userinput></screen> 158 tar --strip-components=1 \ 159 --no-same-owner \ 160 --no-same-permissions \ 161 -C /usr/share/doc/python-&python-version;/html \ 162 -xvf ../python-&python-version;-docs-html.tar.bz2</userinput></screen> 162 163 163 164 <variablelist> … … 165 166 166 167 <varlistentry> 167 <term><option>--no-same-owner</option> (tar) and <option>--no-preserve=mode</option> (cp)</term>168 <term><option>--no-same-owner</option> and <option>--no-same-permissions</option></term> 168 169 <listitem> 169 170 <para>Ensure the installed files have the correct ownership and 170 171 permissions. Without these options, <application>tar</application> 171 will install the package files with the upstream creator's values 172 and files would have restrictive permissions. 172 will install the package files with the upstream creator's values. 173 173 </para> 174 174 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.