[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Upgrading a package (Do I use $1?)
- From: Mike Baranski <mbaranski celito net>
- To: rpm-list redhat com
- Subject: Upgrading a package (Do I use $1?)
- Date: Tue, 29 Jan 2002 09:01:12 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm having some trouble upgrading a package. Installation works great, but
then there are some scripts we want to run only when upgrading. Seems like I
read that $1 was an argument that was passed to all of your scripts, and if
it was 0 you were uninstalling, 1 you were doing a new install, and > 1 you
were doing an upgrade. This does not appear to be the case, as sometimes it
does and sometimes it doesen't work, depending, it seems, on the revision
number. Does anyone have any suggestions?
Mike.
- --
*********************************
* Mike Baranski *
* Security Managment Consulting *
* 919-788-9200 Phone *
* 919-510-0037 Fax *
* mike@secmgmt.com *
*********************************
GPG Key located on:
http://www.keyserver.net/en/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8Vqson0XmoxBj3PwRAu4mAKCQCRf2BdPjsU8YJ4Jczyt/Es6jPgCfaZch
mdZwc5/G3o45Kl++bswgcY0=
=BvpS
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]