Re: Removing directories/files in RPM erase

Tim Mooney <[email protected]> Wed, 21 May 2008 18:27:16 -0500 (CDT)
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
> However, when I remove the RPM, it doesn't remove the directories because
> they aren't empty.  Should I setup a post uninstall to see if this is the
> last instance of the package and if it is, manually remove those
> directories?

Look up the %ghost attribute (?, token?, I'm not sure what it should be
classified as) and see if that does what you need.

Tim
-- 
Tim Mooney                              [email protected]
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164