ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Stanislav Ievlev <inger@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] strange scripts
Date: Thu, 22 Apr 2004 11:59:12 +0400
Message-ID: <20040422075912.GE2799@basalt.office.altlinux.org> (raw)
In-Reply-To: <40866692.70801@epam.com>

On Wed, Apr 21, 2004 at 03:18:26PM +0300, Sviataslau Svirydau wrote:
> Stanislav Ievlev wrote:
> 
> >Привет всем!
> >
> >В attach'е приведены ошибочные на мой взгляд скрипты в пакетах.
> >
> >Очень возможно я где-то не прав, обязательно сообщите мне об этом
> >иначе это всё пойдет в BTS с разными severity ;)
> >
> >...
> >subversion-server-common-1.0.1-alt1.i586.rpm
> > 
> >
> ------------ (это наверное стоит перенести в триггер)
> subversion-server-common-1.0.1-alt1.i586.rpm
> preinstall scriptlet (through /bin/sh):
> /usr/sbin/groupadd -r -f subversion
> /usr/sbin/useradd -r -g subversion -d /var/lib/subversion -s /dev/null 
> -c 'Subversion' subversion >/dev/null 2>
> &1 ||:
> if [ $1 -gt 1 ]; then
>        /usr/sbin/usermod -d /var/lib/subversion subversion
> fi
> --------------
> 
> Где можно посмотреть пример как это правильно делать?
> (подобный скрипт тоже делался по примеру из другого пакета :))
У нас много всяких примеров разной степени правильности ;)
Ну в принципе все тоже самое, только надо оформить это как %trigger
Лучшее описание тригерров которое я когда-либо видел в самом rpm ;)
> 
> -- 
> Regards,
> Sviatoslav Sviridov <Sviataslau_Svirydau at epam.com>
> phone:  +375 17 210 1662, ext. 1302
> mobile: +375 29 641 4214
> -- 
> The sendmail configuration file is one of those files that looks like 
> someone
> beat their head on the keyboard.  After working with it... I can see why!
> 		-- Harry Skelton
> 

> _______________________________________________
> Devel mailing list
> Devel@altlinux.ru
> http://lists.altlinux.ru/mailman/listinfo/devel



  reply	other threads:[~2004-04-22  7:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-21  9:35 Stanislav Ievlev
2004-04-21 10:25 ` Alexey I. Froloff
2004-04-21 11:07   ` Stanislav Ievlev
2004-04-21 11:42     ` Alexey I. Froloff
2004-04-22  8:02       ` Stanislav Ievlev
2004-04-21 12:18 ` Sviataslau Svirydau
2004-04-22  7:59   ` Stanislav Ievlev [this message]
2004-04-22  9:23     ` [devel] " Michael Shigorin
2004-04-21 16:44 ` [devel] " Dmitry Vukolov
2004-04-21 19:54   ` Vitaly Lipatov
2004-04-22  8:02   ` Stanislav Ievlev
2004-04-21 18:57 ` Alex Ott
2004-04-21 19:52   ` Vitaly Lipatov
2004-04-22  8:03     ` Stanislav Ievlev
2004-04-22  8:15       ` Alex Ott
2004-04-22  9:21       ` [devel] " Michael Shigorin
2004-04-22 12:01 ` Michael Shigorin

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=20040422075912.GE2799@basalt.office.altlinux.org \
    --to=inger@altlinux.org \
    --cc=devel@altlinux.ru \
    /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