[CentOS] rpm - spec - on remove
Shawn O'Shea
shawn at ll.mit.eduMon Mar 3 19:55:21 UTC 2008
- Previous message: [CentOS] rpm - spec - on remove
- Next message: [CentOS] recommendation for Virtual Dedicated Server based on Centos
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 DeveloperWorks article talks about the pre & post install/uninstall script parts of RPMs and covered these gotchas. http://www-128.ibm.com/developerworks/linux/library/l-rpm3.html?dwzone=linux -Shawn
- Previous message: [CentOS] rpm - spec - on remove
- Next message: [CentOS] recommendation for Virtual Dedicated Server based on Centos
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list