ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] post and postun sections
@ 2002-11-28 12:55 Vitaly Ostanin
  2002-11-28 13:00 ` Alexander Bokovoy
  2002-11-28 13:03 ` [devel] " Dmitry V. Levin
  0 siblings, 2 replies; 6+ messages in thread
From: Vitaly Ostanin @ 2002-11-28 12:55 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 634 bytes --]

Hello, All!

При обновлении (rpm -Uvh) установленного пакета с секциями %post
и %postun в spec'е сначала выполняется %post, затем %postun.

Подскажите, pls, как регулировать последовательность выполнения
скриптов? В моём случае (alt-entities) нужно при установке пакета
добавлять запись в /etc/xml/catalog, а при удалении - удалять
запись. Это работает, но при обновлении пакета сначала
добавляется запись, а потом удаляется.

Туда же - как можно указать скрипт, который не должен выполняться
при обновлении вообще - только при установке или удалении?

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-11-29 11:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-28 12:55 [devel] post and postun sections Vitaly Ostanin
2002-11-28 13:00 ` Alexander Bokovoy
2002-11-28 22:36   ` [devel] " Mikhail Zabaluev
2002-11-29  9:06     ` Alexander Bokovoy
2002-11-29 11:04     ` Vitaly Ostanin
2002-11-28 13:03 ` [devel] " Dmitry V. Levin

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