.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "DH_USRLOCAL 1" .TH DH_USRLOCAL 1 "2019-02-23" "12.1.1" "Debhelper" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NOME" .IX Header "NOME" dh_usrlocal \- migra directórios usr/local para scripts de mantenedor. .SH "RESUMO" .IX Header "RESUMO" \&\fBdh_usrlocal\fR [\fIdebhelper opções\fR] [\fB\-n\fR] .SH "DESCRIÇÃO" .IX Header "DESCRIÇÃO" \&\fBdh_usrlocal\fR é um programa debhelper que pode ser usado para compilar pacotes que disponibilizam um sub\-directório em \fI/usr/local\fR quando instalados. .PP Encontra sub\-directórios de \fIusr/local\fR no directório de compilação do pacote, e remove-os, substituindo-os por fragmentos de script de mantenedor (a menos que seja usado \fB\-n\fR) para criar os directórios durante a instalação, e removê\-los quando o pacote é removido, num modo em conformidade com a política Debian. Estes fragmentos são inseridos nos scripts de mantenedor pelo \fBdh_installdeb\fR. Veja \fBdh_installdeb\fR\|(1) para uma explicação sobre fragmentos de scripts de mantenedor do debhelper. .PP When the \fI\s-1DEB_RULES_REQUIRES_ROOT\s0\fR environment variable is not (effectively) \fIbinary-targets\fR, the directories in \fI/usr/local\fR will be handled as if they were owned by root:root (see below). .PP When the \fI\s-1DEB_RULES_REQUIRES_ROOT\s0\fR environment variable has an effective value of \fIbinary-targets\fR, the owners, groups and permissions will be preserved with the sole exception where the directory is owned by root:root. .PP If a directory is owned by root:root, then ownership will be determined at install time. The ownership and permission bits will either be root:root mode 0755 or root:staff mode 02775. The actual choice depends on whether the system has \fI/etc/staff\-group\-for\-usr\-local\fR (as documented in the Debian Policy Manual §9.1.2 since version 4.1.4) .SH "OPÇÕES" .IX Header "OPÇÕES" .IP "\fB\-n\fR, \fB\-\-no\-scripts\fR" 4 .IX Item "-n, --no-scripts" Não modifique os scripts \fIpostinst\fR/\fIprerm\fR. .SH "NOTAS" .IX Header "NOTAS" Note que este comando não é idempotente. O \fBdh_prep\fR\|(1) deve ser chamado entre invocações deste comando. Caso contrário, pode causar múltiplas instâncias do mesmo texto a ser adicionado aos scripts do mantenedor. .SH "EM CONFORMIDADE COM" .IX Header "EM CONFORMIDADE COM" Debian policy, versão 2.2 .SH "VEJA TAMBÉM" .IX Header "VEJA TAMBÉM" \&\fBdebhelper\fR\|(7) .PP Este programa é parte do debhelper. .SH "AUTOR" .IX Header "AUTOR" Andrew Stribblehill .SH "TRADUÇÃO" .IX Header "TRADUÇÃO" Américo Monteiro .PP Se encontrar algum erro na tradução deste documento, por favor comunique para Américo Monteiro \fIa_monteiro@gmx.com\fR ou Equipa Debian de Tradução Portuguesa \fItraduz@debianpt.org\fR.