ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Mykola S. Grechukh" <nick.grechukh@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] upgrade directory to symlink
Date: Thu, 6 May 2010 16:50:39 +0300
Message-ID: <n2sa4ab440f1005060650nef3aa800l3e7043d78be16af0@mail.gmail.com> (raw)
In-Reply-To: <4BE2C66E.10706@rambler.ru>

6 мая 2010 г. 16:38 пользователь Kharitonov A. Dmitry <> написал:
>> if [ -d %_datadir/lxpanel/profile/LXDE ]&&  [ ! -L
>> %_datadir/lxpanel/profile/LXDE ] ; then
>>   rm -fR %_datadir/lxpanel/profile/LXDE
>> fi
> А разве когда-нибудь может возникнуть случай, когда директория и симлинк
> одновременно?

Вчера я ВНЕЗАПНО узнал, что да:

[altlinux@localhost ~]$ ls -la testlink
lrwxrwxrwx 1 altlinux altlinux 4 Май  6 16:50 testlink -> /tmp

[altlinux@localhost ~]$ [ -d testlink ] && echo yes
yes

[altlinux@localhost ~]$ [ -L testlink ] && echo yes
yes

-- 
Mykola Grechukh
RISC Group IT Solutions

      reply	other threads:[~2010-05-06 13:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-05 11:12 Mykola S. Grechukh
2010-05-05 11:15 ` [devel] [solved] " Mykola S. Grechukh
2010-05-05 11:38   ` Sergey Y. Afonin
2010-05-06 10:56 ` [devel] " Денис Смирнов
2010-05-06 10:59   ` Mykola S. Grechukh
2010-05-06 11:51   ` Sergey Y. Afonin
2010-05-06 11:53     ` Mykola S. Grechukh
2010-05-06 13:38       ` Kharitonov A. Dmitry
2010-05-06 13:50         ` Mykola S. Grechukh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=n2sa4ab440f1005060650nef3aa800l3e7043d78be16af0@mail.gmail.com \
    --to=nick.grechukh@gmail.com \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git