ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Led <ledest@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] не работает %post_service
Date: Fri, 24 Sep 2010 17:59:23 +0300
Message-ID: <201009241759.24020.ledest@gmail.com> (raw)
In-Reply-To: <201009241641.28523.cas@altlinux.ru>

On Friday 24 September 2010 15:41:27 Андрей Черепанов wrote:
> 24 сентября 2010 Gennady Kushnir написал:
> > > Да, имелось в виду либо condreload либо condrestart.  И ||: в
> > > конце не помешает.
> >
> > А что правильнее выбрать? Не вполне понимаю разницу.
> > И про ||: в конце впервые слышу - что это значит? (так, для общего
> > развития)
>
> Это означает, что в случе ошибки запуска службы не выдавать ошибку при
> установке RPM. <команда> ИЛИ ничего не делать

Это значит, если <команда> завершилась с ненулевым кодом возврата, то 
выполнить команду true, код завершения которой (всегда 0) и будет кодом 
завершения всего постскрипта. А совсем не то, что вы написали.

-- 
Led

  reply	other threads:[~2010-09-24 14:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24  9:49 ` Gennady Kushnir
2010-09-24 10:11   ` Slava Semushin
2010-09-24 10:12   ` Alexey I. Froloff
2010-09-24 11:10     ` Gennady Kushnir
2010-09-24 11:17       ` Alexey I. Froloff
2010-09-24 11:33         ` Gennady Kushnir
2010-09-24 12:41           ` Андрей Черепанов
2010-09-24 14:59             ` Led [this message]
2010-09-24 15:58               ` Gennady Kushnir
2010-09-24 19:41                 ` Michael Shigorin
2010-09-24 14:57           ` Michael Shigorin
2010-09-24 11:37     ` Gennady Kushnir
2010-09-24 20:49       ` Dmitry V. Levin

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=201009241759.24020.ledest@gmail.com \
    --to=ledest@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