Rollback functionality for apt-rpm
Vincent Danen
vdanen at annvix.org
Sat Dec 9 00:09:16 PST 2006
* Panu Matilainen <pmatilai at laiskiainen.org> [2006-12-07 22:07:47 +0200]:
> >> There are already three different ways to execute stuff post-transaction:
> >> 1) post-transaction scriptlets in rpm itself (at least later rpm versions)
> >
> > Do you have more info on this? I've never heard of this.
>
> Just add %pretrans and/or %posttrans to a package spec just like any other
> scriptlet, that's all the magic there is to it. Well, almost - see
> http://www.archivesat.com/RPM_internals_development_and_distro_coordination/thread84994.htm
> for the long version...
Cool. Very interesting reading. Thanks for the link.. this has got my
mind awhirl with possibilities... =)
--
{FEE30AD4 : 7F6C A60C 06C2 4811 FA1C A2BC 2EBC 5E32 FEE3 0AD4}
mysql> SELECT * FROM users WHERE clue > 0;
Empty set (0.00sec)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/attachments/20061209/f6f6f1b2/attachment-0003.pgp>
More information about the Apt-Rpm
mailing list