Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is there a handy way to remove configuration files?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
_nesses_
n00b
n00b


Joined: 19 Jan 2013
Posts: 1
Location: Germany

PostPosted: Sat Jan 19, 2013 3:21 pm    Post subject: Is there a handy way to remove configuration files? Reply with quote

Hi,
I´m totally new to gentoo... Now I´m playing with portage and some packets to find out the system configuration which fits best to me.
Incidentally, thanks to those guys who wrote all these very good documentations.

So now I got the problem not to know how to purge configuration files of software I already unmerged. Except of manually delete them or by remerging them and run:
Code:
CONFIG_PROTECT="" emerge -C package

found at: http://forums.gentoo.org/viewtopic-t-489222-start-0.html

Now my question:
Is there any handy way to purge configuration files of packages which are not longer installed?

Thanks in advance for your replies.
Back to top
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2522
Location: Richmond, BC, Canada

PostPosted: Sat Jan 19, 2013 4:41 pm    Post subject: Reply with quote

No, there isn't. At least not yet.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
reup
Guru
Guru


Joined: 13 May 2005
Posts: 415
Location: Nederland

PostPosted: Tue Jan 07, 2014 2:21 pm    Post subject: Reply with quote

a script specialist could probably write something that would query emerge for 'file install by a package' then run a loop with 'if exist, rm'

I can see the way, but would not be able to make a decent script for it

reup
_________________
reup

"Don't wiggle the tail of the frog in the oil of the frying peanuts"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum