ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey V. Vissarionov" <gremlin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Hook-и для регистрации shell-ов в /etc/shell
Date: Thu, 21 May 2020 17:14:36 +0300
Message-ID: <20200521141436.GO32613@altlinux.org> (raw)
In-Reply-To: <20200521140227.GA3601340@portlab>

On 2020-05-21 17:02:27 +0300, Vladimir D. Seleznev wrote:

 >> %postun
 >> sed -i -re '/^\/bin\/t\?csh/d' /etc/shells
 > В таком виде никуда не годится. Если удалять шелл при удалении
 > пакета, то обязательно с проверкой условия:
 > if [ $1 -eq 0 ]; then
 > Иначе запись о шелле удалится при обновлении пакета.
 > https://www.altlinux.org/SpecTips/triggers

Буду обновлять - вообще %postun выкину...


-- 
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net


      reply	other threads:[~2020-05-21 14:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20 20:44 Aleksey Cheusov
2020-05-21  4:28 ` Alexey V. Vissarionov
2020-05-21 14:02   ` Vladimir D. Seleznev
2020-05-21 14:14     ` Alexey V. Vissarionov [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=20200521141436.GO32613@altlinux.org \
    --to=gremlin@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