ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Max Ivanov <ivanov.maxim@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Как переместить конфиги при обновлении (и надо ли)?
Date: Wed, 10 Jun 2009 12:59:13 +0400
Message-ID: <fbfa7b0c0906100159q55b3e968p8f865849f84def44@mail.gmail.com> (raw)
In-Reply-To: <20090610085311.GC26516@wo.int.altlinux.org>

>> Вернулся к недоделанному dovecot, буду обновлять до версии 1.2 и
>> обсолетить dovecot1.2, но конфиги от него лежат в /etc/dovecot1.2/ как
>> их пренести? Во время post? в init скрипте? Надо ли их вообще
>> переносить?
>
> Если вы обновляете /etc/dovecot1.2 -> /etc/dovecot, то конфиги лучше
> перенести (скопировать) во время %post.  Но следует иметь в виду, что не
> всякая установка пакета dovecot суть обновление dovecot1.2.
>

Тут вот какое дело :) Если у человека стояли  dovecot и dovecot1.2 (не
одновременно, а вообще когда либо были оба), то у него будут каталоги
/etc/dovecot и /etc/dovecot1.2 при этом абсолютно не ясно, какой из
них рабочий, а какой был на поиграться :)

В %post можно узнать это установка или обновление и если обновление,
то какая предыдущая версия?

  reply	other threads:[~2009-06-10  8:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10  8:48 Max Ivanov
2009-06-10  8:53 ` Dmitry V. Levin
2009-06-10  8:59   ` Max Ivanov [this message]
2009-06-10 19:20     ` Michael Shigorin
2009-06-10 19:28 ` Denis Ovsienko
2009-06-10 19:31   ` Max Ivanov

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=fbfa7b0c0906100159q55b3e968p8f865849f84def44@mail.gmail.com \
    --to=ivanov.maxim@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