Re: Removing directories/files in RPM erase
devzero2000 <[email protected]> Thu, 22 May 2008 00:58:52 +0200
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <[email protected]> |
In this case i do as you suggest. Best Regards 2008/5/22 Hajducko, Steven <[email protected]>: > So what's the best practice for removing directories that your RPM owns > that contain files that the RPM doesn't know about? > > For instance, I've got an rpm that creates several directories and installs > a utility. When I start the tool and it's clients, it starts creating files > in one of the directories that the RPM owns ( ssl certs, logs, etc ). > > 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? > > Suggestions welcome. > > ..................................................................... > *Steven Hajducko* > Systems Engineer, Systems Integration > w: 818.597.6443 m: 805.377.9074 > > This email may contain confidential and privileged material for > the sole use of the intended recipient. Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient please contact the sender and delete all copies. > > > _______________________________________________ > Rpm-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rpm-list
emailSign_logo2.gif
(image/gif, 1.3 KB) - not displayed