ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey V Turchin <zerg@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] rpm upgrade, install or remove check?
Date: Thu, 2 Mar 2006 15:03:14 +0300
Message-ID: <200603021503.15372.zerg@altlinux.org> (raw)
In-Reply-To: <200603021240.09878.serpiph@nikiet.ru>

On Thursday 02 March 2006 12:40, Epiphanov Sergei wrote:
> Подскажите, как можно отличить ситуации:
>
> 1) пакет ставится в систему в первый раз
> 2) пакет обновляется (удаляется старый и ставится одновременно
> новый) 3) пакет вообще удаляется из системы
> ?
>
> Нужно для того, чтобы при первой установке динамически создать
> файл в системе, между обновлениями его не трогать, а при удалении
> пакета его удалить.
Можно сделать его %ghost. Если не создан, создать. Удалиться сам.

-- 
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08


      parent reply	other threads:[~2006-03-02 12:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02  9:40 Epiphanov Sergei
2006-03-02 10:30 ` Alexey I. Froloff
2006-03-02 14:03   ` Epiphanov Sergei
2006-03-02 12:03 ` Sergey V Turchin [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=200603021503.15372.zerg@altlinux.org \
    --to=zerg@altlinux.org \
    --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