* [mdk-re] [JT] $PATH contains many dirs twice @ 2001-09-25 23:10 HB 2001-09-26 12:46 ` Dmitry V. Levin 0 siblings, 1 reply; 4+ messages in thread From: HB @ 2001-09-25 23:10 UTC (permalink / raw) To: mandrake-russian Дистрибутив Spring 2001 из коробки. $ grep \$PATH /etc/profile [ "$PATH" != "${PATH//$HOME\/bin}" ] || PATH="$HOME/bin:$PATH" [ "$PATH" != "${PATH//\/usr\/X11R6\/bin}" ] || PATH="$PATH:/usr/X11R6/bin" [ "$PATH" != "${PATH//\/usr\/games}" ] || PATH="$PATH:/usr/games" PATH=$PATH:/usr/X11R6/bin:/usr/games $ grep \$PATH ~/.bash_profile PATH=$PATH:$HOME/bin В результате $PATH содержит каталоги ~/bin, /usr/X11R6/bin и /usr/games по 2 раза: $ echo $PATH /home/hb/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/usr/X11R6/bin:/usr/games:/home/hb/bin Не сочтите меня придирой или педантом, но все-таки, полагаю, это небольшая недоработочка. /* Или я чего-то не понимаю? */ Очень хотелось бы не видеть такого в след. версиях дистрибутива. Спасибо заранее. -- HB ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [mdk-re] [JT] $PATH contains many dirs twice 2001-09-25 23:10 [mdk-re] [JT] $PATH contains many dirs twice HB @ 2001-09-26 12:46 ` Dmitry V. Levin 2001-09-26 17:40 ` HB 0 siblings, 1 reply; 4+ messages in thread From: Dmitry V. Levin @ 2001-09-26 12:46 UTC (permalink / raw) To: ALT Linux Spring mailing list [-- Attachment #1: Type: text/plain, Size: 1514 bytes --] On Tue, Sep 25, 2001 at 11:16:18PM +0400, HB wrote: > Дистрибутив Spring 2001 из коробки. > > $ grep \$PATH /etc/profile > [ "$PATH" != "${PATH//$HOME\/bin}" ] || PATH="$HOME/bin:$PATH" > [ "$PATH" != "${PATH//\/usr\/X11R6\/bin}" ] || PATH="$PATH:/usr/X11R6/bin" > [ "$PATH" != "${PATH//\/usr\/games}" ] || PATH="$PATH:/usr/games" это правильно... > PATH=$PATH:/usr/X11R6/bin:/usr/games а это неправильно, виноват, скорее всего, msec; спасибо за pr. > $ grep \$PATH ~/.bash_profile > PATH=$PATH:$HOME/bin Вы, очевидно, произвели установку на английском языке; в пакете etcskel есть эта ошибка; pr #80. > В результате $PATH содержит каталоги ~/bin, /usr/X11R6/bin и /usr/games > по 2 раза: > > $ echo $PATH > /home/hb/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/usr/X11R6/bin:/usr/games:/home/hb/bin > > Не сочтите меня придирой или педантом, но все-таки, полагаю, это > небольшая недоработочка. /* Или я чего-то не понимаю? */ Это сочетание недоработки дистрибутива и Вашей кармы (благодаря которой эта недоработка выявилась. :) > Очень хотелось бы не видеть такого в след. версиях дистрибутива. Конечно. Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.ru/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* [mdk-re] [JT] $PATH contains many dirs twice 2001-09-26 12:46 ` Dmitry V. Levin @ 2001-09-26 17:40 ` HB 2001-09-26 19:11 ` [mdk-re] " Dmitry V. Levin 0 siblings, 1 reply; 4+ messages in thread From: HB @ 2001-09-26 17:40 UTC (permalink / raw) To: Dmitry V. Levin Wed, Sep 26, 2001 at 12:56:47PM +0400, Dmitry V. Levin wrote: > > Дистрибутив Spring 2001 из коробки. > > > > $ grep \$PATH /etc/profile > > [ "$PATH" != "${PATH//$HOME\/bin}" ] || PATH="$HOME/bin:$PATH" > > [ "$PATH" != "${PATH//\/usr\/X11R6\/bin}" ] || PATH="$PATH:/usr/X11R6/bin" > > [ "$PATH" != "${PATH//\/usr\/games}" ] || PATH="$PATH:/usr/games" > > это правильно... > > > PATH=$PATH:/usr/X11R6/bin:/usr/games > > а это неправильно, виноват, скорее всего, msec; спасибо за pr. Не мне судить, кто виноват, но эта "неправильная" строка, определенно, относится к msec: $ grep -1 =\$PATH /etc/profile # Mandrake-Security : if you remove this comment, remove the next line too. PATH=$PATH:/usr/X11R6/bin:/usr/games # Mandrake-Security : if you remove this comment, remove the next line too. Я эту строку просто закомментировал. Надеюсь, это никаким образом не повлияет на работу msec. > > $ grep \$PATH ~/.bash_profile > > PATH=$PATH:$HOME/bin > > Вы, очевидно, произвели установку на английском языке; Я, я, натюрлих. > в пакете etcskel есть эта ошибка; pr #80. PR -- это public relations. А кто такой "pr"? -- HB ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [mdk-re] $PATH contains many dirs twice 2001-09-26 17:40 ` HB @ 2001-09-26 19:11 ` Dmitry V. Levin 0 siblings, 0 replies; 4+ messages in thread From: Dmitry V. Levin @ 2001-09-26 19:11 UTC (permalink / raw) To: ALT Linux Spring mailing list [-- Attachment #1: Type: text/plain, Size: 1610 bytes --] On Wed, Sep 26, 2001 at 05:46:17PM +0400, HB wrote: > > > Дистрибутив Spring 2001 из коробки. > > > > > > $ grep \$PATH /etc/profile > > > [ "$PATH" != "${PATH//$HOME\/bin}" ] || PATH="$HOME/bin:$PATH" > > > [ "$PATH" != "${PATH//\/usr\/X11R6\/bin}" ] || PATH="$PATH:/usr/X11R6/bin" > > > [ "$PATH" != "${PATH//\/usr\/games}" ] || PATH="$PATH:/usr/games" > > > > это правильно... > > > > > PATH=$PATH:/usr/X11R6/bin:/usr/games > > > > а это неправильно, виноват, скорее всего, msec; спасибо за pr. > > Не мне судить, кто виноват, но эта "неправильная" строка, определенно, > относится к msec: > > $ grep -1 =\$PATH /etc/profile > # Mandrake-Security : if you remove this comment, remove the next line too. > PATH=$PATH:/usr/X11R6/bin:/usr/games > # Mandrake-Security : if you remove this comment, remove the next line too. > > Я эту строку просто закомментировал. Надеюсь, это никаким образом не > повлияет на работу msec. Не повлияет. > > > $ grep \$PATH ~/.bash_profile > > > PATH=$PATH:$HOME/bin > > > > Вы, очевидно, произвели установку на английском языке; > > Я, я, натюрлих. > > > в пакете etcskel есть эта ошибка; pr #80. > > PR -- это public relations. А кто такой "pr"? problem report (в терминах gnats). Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.ru/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-09-26 19:11 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-09-25 23:10 [mdk-re] [JT] $PATH contains many dirs twice HB 2001-09-26 12:46 ` Dmitry V. Levin 2001-09-26 17:40 ` HB 2001-09-26 19:11 ` [mdk-re] " Dmitry V. Levin
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git