.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" 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 .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . 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 2024-03-27 13.15.3 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 NOMBRE .IX Header "NOMBRE" dh_usrlocal \- Migra directorios «usr/local» a scripts del desarrollador .SH SINOPSIS .IX Header "SINOPSIS" \&\fBdh_usrlocal\fR [\fIopciones-de-debhelper\fR] [\fB\-n\fR] .SH DESCRIPCIÓN .IX Header "DESCRIPCIÓN" \&\fBdh_usrlocal\fR es un programa de debhelper que permite construir paquetes que proveerán un subdirectorio en \fI/usr/local\fR al instalarse. .PP Busca subdirectorios bajo \fIusr/local\fR en el directorio de construcción del paquete, y los elimina, reemplazándolos con las partes de scripts del desarrollador (a menos que use \fB\-n\fR) para crear los directorios al instalar, y los elimina al desinstalar el paquete de forma que cumpla con las Normas de Debian. Estos scripts de desarrollador se instalan mediante \fBdh_installdeb\fR. Para una explicación de los fragmentos de scripts de desarrollador de Debhelper consulte \fBdh_installdeb\fR\|(1). .PP When the \fIDEB_RULES_REQUIRES_ROOT\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 \fIDEB_RULES_REQUIRES_ROOT\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 OPCIONES .IX Header "OPCIONES" .IP "\fB\-n\fR, \fB\-\-no\-scripts\fR" 4 .IX Item "-n, --no-scripts" No modifica los scripts \fIpostinst\fR/\fIprerm\fR. .SH NOTAS .IX Header "NOTAS" Esta orden no es idempotente. Debería invocar \fBdh_prep\fR\|(1) entre cada invocación de esta orden. De otro modo, puede causar que los scripts del desarrollador contengan partes duplicadas. .SH "CONFORME A" .IX Header "CONFORME A" Normas de Debian, versión 2.2 .SH "VÉASE TAMBIÉN" .IX Header "VÉASE TAMBIÉN" \&\fBdebhelper\fR\|(7) .PP Este programa es parte de debhelper. .SH AUTOR .IX Header "AUTOR" Andrew Stribblehill .SH TRADUCTOR .IX Header "TRADUCTOR" Traducci�n de Rudy Godoy Actualizaci�n de Omar Campagne Polaino