From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 20 Jun 2007 15:37:22 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20070620113722.GC26341@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <75e139a00706200259w51c65506u1b060043af9628cb@mail.gmail.com> <20070620101244.GB23268@basalt.office.altlinux.org> <75e139a00706200351o36bd7ef1q26f0669e9dfb26f1@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/2994txjAzEdQwm5" Content-Disposition: inline In-Reply-To: <75e139a00706200351o36bd7ef1q26f0669e9dfb26f1@mail.gmail.com> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] Q: /usr/local/share/man in MANPATH X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2007 11:37:22 -0000 Archived-At: List-Archive: List-Post: --/2994txjAzEdQwm5 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 20, 2007 at 05:51:26PM +0700, Slava Semushin wrote: > 20.06.07, Dmitry V. Levin =CE=C1=D0=C9=D3=C1=CC(=C1): > [...] > > > - =D0=CF=D3=D4=C1=D7=C9=D4=D8 =D0=CF=D3=CC=C5 /usr/local/man > > > =F3=CB=CC=CF=CE=D1=C0=D3=D8 =CB=CF =D7=D4=CF=D2=CF=CD=D5 =D7=C1=D2=C9= =C1=CE=D4=D5 > > =E9 =D0=D2=C1=D7=C9=CC=D8=CE=CF =C4=C5=CC=C1=C5=D4=C5. >=20 > =F7 =D4=C1=CB=CF=CD =D3=CC=D5=DE=C1=C5 =D3=CC=C5=C4=D5=C0=DD=C9=CA =D7=CF= =D0=D2=CF=D3: >=20 > =F7 =D0=C1=D4=DE=C1=C8 man-1.5m2-alt-apropos =C9 man-1.5m2-alt-makewhatis= (=CB=D3=D4=C1=D4=C9, =CF=CE=C9 > =CF=D4=D7=C1=CC=C9=CC=C9=D3=D8!) =C5=D3=D4=D8 =D0=D2=CF=D7=C5=D2=CB=C9 = =D7=C9=C4=C1: >=20 > +if [ -z "$update" ]; then > + for mandir in $manpath; do > + [ -d "$mandir" ] || continue > + [ "$mandir" !=3D "/usr/man" ] || continue > + if [ -z "${mandir##/usr/share/man*}" ]; then > + mandir=3D"${mandir/\/usr\/share\/man//var/cache/man}" > + elif [ "$mandir" =3D=3D /usr/X11R6/man ]; then > + mandir=3D/var/cache/man/X11R6 > + elif [ "$mandir" =3D=3D /usr/lib/perl5/man ]; then > + mandir=3D/var/cache/man/perl > + elif [ "$mandir" =3D=3D /usr/local/man ]; then > + mandir=3D/var/cache/man/local > + fi > + [ -d "$mandir" ] || continue > [...] >=20 > =E8=CF=D4=C5=CC=CF=D3=D8 =C2=D9 =D0=CF=CE=D1=D4=D8, =DE=D4=CF =DC=D4=C9 = =D0=D2=CF=D7=C5=D2=CB=C9 =C4=C5=CC=C1=C0=D4? =F1 =D4=C1=CB =D0=CF=CE=C9=CD= =C1=C0, =DE=D4=CF =C9=C4=A3=D4 > =D3=CF=D0=CF=D3=D4=C1=D7=CC=C5=CE=C9=C5 =D2=C1=D3=D0=CF=CC=CF=D6=C5=CE=C9= =D1 =CD=C1=CE=C1 =C9 =D4=CF=C7=CF =C7=C4=C5 =C8=D2=C1=CE=C9=D4=D3=D1 =C5=C7= =CF =CB=DC=DB. =E4=C1. > =EE=D5=D6=CE=CF =CC=C9 =D7=CE=CF=D3=C9=D4=D8 =C9=DA=CD=C5=CE=C5=CE=C9=D1 = =D7 =DC=D4=C9 =D0=D2=CF=D7=C5=D2=CB=C9 =D0=CF=D3=CC=C5 =C4=CF=C2=D7=CC=C5= =CE=C9=D1 > /usr/local/share/man =D7 MANPATH? =E4=C1. > =E5=D3=CC=C9 =C4=C1, =D4=CF =D1 =C4=D5=CD=C1=C0, =DE=D4=CF =CB=DC=DB (=C9= =CC=C9 =DE=D4=CF > =D4=C1=CD) =C4=CF=CC=D6=C5=CE =C8=D2=C1=CE=C9=D4=D8=D3=D1 =D4=C1=CD =D6= =C5 =C7=C4=C5 =C9 =C4=CC=D1 /usr/local/man, =D4.=C5. =D7 > /var/cache/man/local =F7=C9=C4=C9=CD=CF, =C4=C1. > BTW, s/=3D=3D/=3D/ =D4=CF=D6=C5 =CE=C5 =D0=CF=D7=D2=C5=C4=C9=D4... =FC=D4=CF =C4=D2=C5=D7=CE=C9=CA =CB=CF=C4, =D7 =CE=A3=CD =C8=D7=C1=D4=C1=C5= =D4 =DA=C1=D3=D4=C1=D2=C5=CC=D9=C8 bashism'=CF=D7. --=20 ldv --/2994txjAzEdQwm5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGeRFyfKvmrJ41Nh4RAj9tAJ0SpXyjLbezXmjXFZU05b2ZHqK1DwCgj1ga AYhQZgNU9wF7AqpHl7ngCl0= =5CpV -----END PGP SIGNATURE----- --/2994txjAzEdQwm5--