[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Upgrading a package (Do I use $1?)
- From: Jeff Johnson <jbj JBJ ORG>
- To: rpm-list redhat com
- Subject: Re: Upgrading a package (Do I use $1?)
- Date: Tue, 29 Jan 2002 10:25:53 -0500
On Tue, Jan 29, 2002 at 10:21:29AM -0500, Mike Baranski wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Thanks, Jeff, that's about what I thought. We need, however, to determine if
> we're installing or upgrading, so:
>
> if [$1 = 0]; then
> # Erase
> fi
>
> if [$1 = 1]; then
> # New Install
> fi
>
> if[$1 > 1]; then
> #upgrade
> fi
>
> Right?
IIRC. Details are in /usr/share/doc/rpm-*/triggers, again IIRC.
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@jbj.org (jbj@redhat.com)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]