Re: [CentOS] rpm - spec - on remove

2008-03-03 Thread Shawn O'Shea
Tom Brown wrote: Hi Is there an option in the spec that i can say on remove do X - eg move a backup file back into place etc? eg %onremove mv foo bar There are some gotchas (re: removal during an upgrade vs outright removal, aka erasing an RPM) that are good to know about. This IBM Devel

Re: [CentOS] rpm - spec - on remove

2008-03-03 Thread Milton Calnek
%postun - I think. Tom Brown wrote: Hi Is there an option in the spec that i can say on remove do X - eg move a backup file back into place etc? eg %onremove mv foo bar thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mai

[CentOS] rpm - spec - on remove

2008-03-03 Thread Tom Brown
Hi Is there an option in the spec that i can say on remove do X - eg move a backup file back into place etc? eg %onremove mv foo bar thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos