Re: Removing directories/files in RPM erase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In this case i do as you suggest.

Best Regards


2008/5/22 Hajducko, Steven <steven.hajducko@xxxxxxxxxxxxxxxxxx>:
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
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux