Ignore:
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"?>
    22<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    33  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
     
    156156<screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html
    157157
    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>
     158tar --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>
    162163
    163164    <variablelist>
     
    165166
    166167    <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>
    168169      <listitem>
    169170        <para>Ensure the installed files have the correct ownership and
    170171        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.
    173173        </para>
    174174      </listitem>
Note: See TracChangeset for help on using the changeset viewer.