View previous topic :: View next topic |
Author |
Message |
_nesses_ n00b
Joined: 19 Jan 2013 Posts: 1 Location: Germany
|
Posted: Sat Jan 19, 2013 3:21 pm Post subject: Is there a handy way to remove configuration files? |
|
|
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: https://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 |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Sat Jan 19, 2013 4:41 pm Post subject: |
|
|
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 |
|
|
reup Guru
Joined: 13 May 2005 Posts: 419 Location: Nederland
|
Posted: Tue Jan 07, 2014 2:21 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|